Skip to content

Commit

Permalink
Staging: hv: Cleanup calls to cleanup() in hv_mouse.c
Browse files Browse the repository at this point in the history
Cleanup calls to cleanup() in hv_mouse.c as this is an empty function.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@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>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed May 11, 2011
1 parent 205dec1 commit cf5e5cb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/staging/hv/hv_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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;
Expand Down

0 comments on commit cf5e5cb

Please sign in to comment.