diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-05-10 14:56:17 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-11 20:49:34 (GMT) |
commit | 4e458c1d3206ef633c39a7ac29d5b61a540ddb57 (patch) | |
tree | f88dce95fe70f11e8145ac06f6b0a9a535405bf4 /drivers | |
parent | 746e8ca4f73fda7b552148c52fd80b2affc98548 (diff) | |
download | linux-fsl-qoriq-4e458c1d3206ef633c39a7ac29d5b61a540ddb57.tar.xz |
Staging: hv: mouse_drv: Get rid of some unused code
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/hv/hv_mouse.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c index 0eca451..af4db64 100644 --- a/drivers/staging/hv/hv_mouse.c +++ b/drivers/staging/hv/hv_mouse.c @@ -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 |