[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1299794669-895-1-git-send-email-kys@microsoft.com>
Date: Thu, 10 Mar 2011 14:04:29 -0800
From: "K. Y. Srinivasan" <kys@...rosoft.com>
To: kys@...rosoft.com, gregkh@...e.de, linux-kernel@...r.kernel.org,
devel@...uxdriverproject.org, virtualization@...ts.osdl.org
Cc: Haiyang Zhang <haiyangz@...rosoft.com>,
Mike Sterling <mike.sterling@...rosoft.com>,
Abhishek Kane <v-abkane@...rosoft.com>,
Hank Janssen <hjanssen@...rosoft.com>
Subject: [PATCH 02/21] 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@...rosoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@...rosoft.com>
Signed-off-by: Mike Sterling <mike.sterling@...rosoft.com>
Signed-off-by: Abhishek Kane <v-abkane@...rosoft.com>
Signed-off-by: Hank Janssen <hjanssen@...rosoft.com>
---
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 884a4c6..95654b1 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);
--
1.5.5.6
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists