diff options
author | K. Y. Srinivasan <[email protected]> | 2011-05-10 07:55:13 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2011-05-11 13:48:54 -0700 |
commit | cf5e5cbfa2ed46a3117cc4aaa2428ab7f8789150 (patch) | |
tree | b9e0959aa5d95ab8344d2ad194b4e5585b393881 | |
parent | 205dec163840cb74ee47c878f4dd04820169b4aa (diff) |
Staging: hv: Cleanup calls to cleanup() in hv_mouse.c
Cleanup calls to cleanup() in hv_mouse.c as this is an empty function.
Signed-off-by: K. Y. Srinivasan <[email protected]>
Signed-off-by: Haiyang Zhang <[email protected]>
Signed-off-by: Abhishek Kane <[email protected]>
Signed-off-by: Hank Janssen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | 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 523c428435cc..b7086634a445 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; |