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>
This commit is contained in:
Greg Kroah-Hartman 2010-12-02 12:04:59 -08:00
parent 6c884555f2
commit 0bdb250c69
1 changed files with 0 additions and 3 deletions

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