[PATCH 087/206] Staging: hv: Cleanup calls to cleanup() in hv_mouse.c

From: K. Y. Srinivasan
Date: Tue May 10 2011 - 04:31:15 EST


Cleanup calls to cleanup() in hv_mouse.c as this is an empty function.

Signed-off-by: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
Signed-off-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
Signed-off-by: Abhishek Kane <v-abkane@xxxxxxxxxxxxx>
Signed-off-by: Hank Janssen <hjanssen@xxxxxxxxxxxxx>
---
drivers/staging/hv/hv_mouse.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c
index 523c428..b708663 100644
--- a/drivers/staging/hv/hv_mouse.c
+++ b/drivers/staging/hv/hv_mouse.c
@@ -947,7 +947,6 @@ static int mousevsc_drv_exit_cb(struct device *dev, void *data)

static void mousevsc_drv_exit(void)
{
- struct mousevsc_drv_obj *mousevsc_drv_obj = &g_mousevsc_drv;
struct hv_driver *drv = &g_mousevsc_drv.base;
int ret;

@@ -970,9 +969,6 @@ static void mousevsc_drv_exit(void)
device_unregister(current_dev);
}

- if (mousevsc_drv_obj->base.cleanup)
- mousevsc_drv_obj->base.cleanup(&mousevsc_drv_obj->base);
-
vmbus_child_driver_unregister(&drv->driver);

return;
--
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/