summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorK. Y. Srinivasan2011-05-10 16:55:08 +0200
committerGreg Kroah-Hartman2011-05-11 22:48:51 +0200
commitb51f88a1a1e9a191f227964785d6db52f5ee2529 (patch)
tree3d500601215876d19690d114f1c376cac9de5e44
parentStaging: hv: Get rid of the indirection to invoke mousevsc_on_device_remove (diff)
downloadkernel-qcow2-linux-b51f88a1a1e9a191f227964785d6db52f5ee2529.tar.gz
kernel-qcow2-linux-b51f88a1a1e9a191f227964785d6db52f5ee2529.tar.xz
kernel-qcow2-linux-b51f88a1a1e9a191f227964785d6db52f5ee2529.zip
Staging: hv: Get rid of the mouse cleanup() function
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>
-rw-r--r--drivers/staging/hv/hv_mouse.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c
index b7016e2faffd..41bfa3f57e15 100644
--- a/drivers/staging/hv/hv_mouse.c
+++ b/drivers/staging/hv/hv_mouse.c
@@ -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
@@ -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;
}