aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/hv/vmbus_drv.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/hv/vmbus_drv.c b/drivers/staging/hv/vmbus_drv.c
index 884a4c65159d..95654b180cbc 100644
--- a/drivers/staging/hv/vmbus_drv.c
+++ b/drivers/staging/hv/vmbus_drv.c
@@ -190,9 +190,8 @@ static int vmbus_dev_rm(struct hv_device *dev)
190/* 190/*
191 * vmbus_cleanup - Perform any cleanup when the driver is removed 191 * vmbus_cleanup - Perform any cleanup when the driver is removed
192 */ 192 */
193static void vmbus_cleanup(struct hv_driver *drv) 193static void vmbus_cleanup(void)
194{ 194{
195 /* struct vmbus_driver *driver = (struct vmbus_driver *)drv; */
196 195
197 hv_cleanup(); 196 hv_cleanup();
198} 197}
@@ -574,7 +573,7 @@ static void vmbus_bus_exit(void)
574 /* Remove the root device */ 573 /* Remove the root device */
575 vmbus_dev_rm(dev_ctx); 574 vmbus_dev_rm(dev_ctx);
576 575
577 vmbus_cleanup(NULL); 576 vmbus_cleanup();
578 577
579 /* Unregister the root bus device */ 578 /* Unregister the root bus device */
580 device_unregister(&dev_ctx->device); 579 device_unregister(&dev_ctx->device);