Commit 0bdb250c authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Staging: hv: remove gDriver variable



It's only set and never used anymore, so remove it.

Gotta love static variables with a "global" hungarian notatation on the
name...

Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6c884555
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -145,7 +145,6 @@ static const struct hv_guid gVmbusDeviceId = {
	}
};

static struct hv_driver *gDriver; /* vmbus driver object */
static struct hv_device *gDevice; /* vmbus root device */

/*
@@ -326,8 +325,6 @@ static int VmbusInitialize(struct hv_driver *driver)
	if (ret != 0)
		DPRINT_ERR(VMBUS, "Unable to initialize the hypervisor - 0x%x",
				ret);
	gDriver = driver;

	return ret;
}