Staging: hv: Get rid of the mouse cleanup() function
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 10 May 2011 14:55:08 +0000 (07:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 May 2011 20:48:51 +0000 (13:48 -0700)
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>
drivers/staging/hv/hv_mouse.c

index b7016e2faffd180f012d80b2b3521020a75a0df7..41bfa3f57e159be629228c70efc24d9db7079a27 100644 (file)
@@ -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;
 }