Browse Source

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>
Greg Kroah-Hartman 14 years ago
parent
commit
0bdb250c69
1 changed files with 0 additions and 3 deletions
  1. 0 3
      drivers/staging/hv/vmbus_drv.c

+ 0 - 3
drivers/staging/hv/vmbus_drv.c

@@ -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;
 }