Skip to content

Commit

Permalink
Staging: hv: Get rid of the mouse cleanup() function
Browse files Browse the repository at this point in the history
mousevsc_on_cleanup() is an empty function; get rid of it.

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 f1f66f8 commit b51f88a
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 @@ -782,9 +782,6 @@ static int mousevsc_on_device_remove(struct hv_device *device)
return ret;
}

static void mousevsc_on_cleanup(struct hv_driver *drv)
{
}

/*
* Data types
Expand Down Expand Up @@ -994,7 +991,6 @@ static int mouse_vsc_initialize(struct hv_driver *driver)
/* Setup the dispatch table */
input_drv->base.dev_add = mousevsc_on_device_add;
input_drv->base.dev_rm = mousevsc_on_device_remove;
input_drv->base.cleanup = mousevsc_on_cleanup;

return ret;
}
Expand Down

0 comments on commit b51f88a

Please sign in to comment.