diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-03-10 14:04:29 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-14 12:29:57 -0700 |
commit | 21ec2de26a418e8a5839f2d260876b952a61b9ac (patch) | |
tree | ba82fdbb858dabb9df54bb9c5656fdb845d080b5 /drivers/staging | |
parent | a6e4d8e3fee3cb49c4a0f696c26f1c7b1e4d7a1b (diff) | |
download | linux-stable-21ec2de26a418e8a5839f2d260876b952a61b9ac.tar.gz linux-stable-21ec2de26a418e8a5839f2d260876b952a61b9ac.tar.bz2 linux-stable-21ec2de26a418e8a5839f2d260876b952a61b9ac.zip |
Staging: hv: Change the signature for vmbus_cleanup()
As part of geting rid of hv_driver object from
vmbus_driver_context, change the signature of
vmbus_cleanup() function. Note that while
vmbus_cleanup() was passed a pointer to hv_driver,
this argument was unused.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Mike Sterling <mike.sterling@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/hv/vmbus_drv.c | 5 |
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) /* * vmbus_cleanup - Perform any cleanup when the driver is removed */ -static void vmbus_cleanup(struct hv_driver *drv) +static void vmbus_cleanup(void) { - /* struct vmbus_driver *driver = (struct vmbus_driver *)drv; */ hv_cleanup(); } @@ -574,7 +573,7 @@ static void vmbus_bus_exit(void) /* Remove the root device */ vmbus_dev_rm(dev_ctx); - vmbus_cleanup(NULL); + vmbus_cleanup(); /* Unregister the root bus device */ device_unregister(&dev_ctx->device); |