Commit b51f88a1 authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman

Staging: hv: Get rid of the mouse cleanup() function

mousevsc_on_cleanup() is an empty function; get rid of it.
Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarAbhishek Kane <v-abkane@microsoft.com>
Signed-off-by: default avatarHank Janssen <hjanssen@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent f1f66f8f
...@@ -782,9 +782,6 @@ static int mousevsc_on_device_remove(struct hv_device *device) ...@@ -782,9 +782,6 @@ static int mousevsc_on_device_remove(struct hv_device *device)
return ret; return ret;
} }
static void mousevsc_on_cleanup(struct hv_driver *drv)
{
}
/* /*
* Data types * Data types
...@@ -994,7 +991,6 @@ static int mouse_vsc_initialize(struct hv_driver *driver) ...@@ -994,7 +991,6 @@ static int mouse_vsc_initialize(struct hv_driver *driver)
/* Setup the dispatch table */ /* Setup the dispatch table */
input_drv->base.dev_add = mousevsc_on_device_add; input_drv->base.dev_add = mousevsc_on_device_add;
input_drv->base.dev_rm = mousevsc_on_device_remove; input_drv->base.dev_rm = mousevsc_on_device_remove;
input_drv->base.cleanup = mousevsc_on_cleanup;
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment