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

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
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment