Staging: hv: remove gDriver variable
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 2 Dec 2010 20:04:59 +0000 (12:04 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 2 Dec 2010 20:04:59 +0000 (12:04 -0800)
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>
drivers/staging/hv/vmbus_drv.c

index 01b9a3dc00d6645cd430df3a314f568cbfdf1f6c..b18fa53f3a24244c3dd840541552358a4b718ef1 100644 (file)
@@ -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;
 }