diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-02 15:04:59 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-02 15:04:59 -0500 |
commit | 0bdb250c69251499f53a4ac6f9dae117da490696 (patch) | |
tree | fd003c8ff515ad9fcb8736ea6f4b4008d7e8228d /drivers/staging | |
parent | 6c884555f23d0c73f7e71ce977ee4dd882532c0f (diff) |
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: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/hv/vmbus_drv.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/hv/vmbus_drv.c b/drivers/staging/hv/vmbus_drv.c index 01b9a3dc00d..b18fa53f3a2 100644 --- a/drivers/staging/hv/vmbus_drv.c +++ b/drivers/staging/hv/vmbus_drv.c | |||
@@ -145,7 +145,6 @@ static const struct hv_guid gVmbusDeviceId = { | |||
145 | } | 145 | } |
146 | }; | 146 | }; |
147 | 147 | ||
148 | static struct hv_driver *gDriver; /* vmbus driver object */ | ||
149 | static struct hv_device *gDevice; /* vmbus root device */ | 148 | static struct hv_device *gDevice; /* vmbus root device */ |
150 | 149 | ||
151 | /* | 150 | /* |
@@ -326,8 +325,6 @@ static int VmbusInitialize(struct hv_driver *driver) | |||
326 | if (ret != 0) | 325 | if (ret != 0) |
327 | DPRINT_ERR(VMBUS, "Unable to initialize the hypervisor - 0x%x", | 326 | DPRINT_ERR(VMBUS, "Unable to initialize the hypervisor - 0x%x", |
328 | ret); | 327 | ret); |
329 | gDriver = driver; | ||
330 | |||
331 | return ret; | 328 | return ret; |
332 | } | 329 | } |
333 | 330 | ||