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:
parent
6c884555f2
commit
0bdb250c69
|
@ -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 */
|
static struct hv_device *gDevice; /* vmbus root device */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -326,8 +325,6 @@ static int VmbusInitialize(struct hv_driver *driver)
|
||||||
if (ret != 0)
|
if (ret != 0)
|
||||||
DPRINT_ERR(VMBUS, "Unable to initialize the hypervisor - 0x%x",
|
DPRINT_ERR(VMBUS, "Unable to initialize the hypervisor - 0x%x",
|
||||||
ret);
|
ret);
|
||||||
gDriver = driver;
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue