diff options
-rw-r--r-- | drivers/staging/hv/vmbus_drv.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/staging/hv/vmbus_drv.c b/drivers/staging/hv/vmbus_drv.c index 11c69c576e3e..e078c5944d51 100644 --- a/drivers/staging/hv/vmbus_drv.c +++ b/drivers/staging/hv/vmbus_drv.c | |||
@@ -173,15 +173,6 @@ static int vmbus_dev_add(struct hv_device *dev, void *info) | |||
173 | } | 173 | } |
174 | 174 | ||
175 | 175 | ||
176 | /* | ||
177 | * vmbus_cleanup - Perform any cleanup when the driver is removed | ||
178 | */ | ||
179 | static void vmbus_cleanup(void) | ||
180 | { | ||
181 | |||
182 | hv_cleanup(); | ||
183 | } | ||
184 | |||
185 | struct onmessage_work_context { | 176 | struct onmessage_work_context { |
186 | struct work_struct work; | 177 | struct work_struct work; |
187 | struct hv_message msg; | 178 | struct hv_message msg; |
@@ -560,7 +551,7 @@ static void vmbus_bus_exit(void) | |||
560 | vmbus_disconnect(); | 551 | vmbus_disconnect(); |
561 | on_each_cpu(hv_synic_cleanup, NULL, 1); | 552 | on_each_cpu(hv_synic_cleanup, NULL, 1); |
562 | 553 | ||
563 | vmbus_cleanup(); | 554 | hv_cleanup(); |
564 | 555 | ||
565 | /* Unregister the root bus device */ | 556 | /* Unregister the root bus device */ |
566 | device_unregister(&dev_ctx->device); | 557 | device_unregister(&dev_ctx->device); |