]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
Staging: hv: mouse_drv: Get rid of some unused code
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 10 May 2011 14:56:17 +0000 (07:56 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 May 2011 20:49:34 +0000 (13:49 -0700)
Now, get rid of struct mousevsc_drv_obj.

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 0eca451626d06efb6b7b126a337597dd09c9d62a..af4db6422635f96195d3c3d427b46f2e528d5d22 100644 (file)
@@ -45,20 +45,6 @@ struct hv_input_dev_info {
        char name[128];
 };
 
-/* Represents the input vsc driver */
-/* FIXME - can be removed entirely */
-struct mousevsc_drv_obj {
-       struct hv_driver base;
-};
-
-
-static inline
-struct mousevsc_drv_obj *drv_to_mousedrv(struct device_driver *d)
-{
-       struct hv_driver *hvdrv = drv_to_hv_drv(d);
-       return container_of(hvdrv, struct mousevsc_drv_obj, base);
-}
-
 /* The maximum size of a synthetic input message. */
 #define SYNTHHID_MAX_INPUT_REPORT_SIZE 16