From: K. Y. Srinivasan Date: Tue, 10 May 2011 14:56:17 +0000 (-0700) Subject: Staging: hv: mouse_drv: Get rid of some unused code X-Git-Tag: firefly_0821_release~7613^2~1326^2~283 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4e458c1d3206ef633c39a7ac29d5b61a540ddb57;p=firefly-linux-kernel-4.4.55.git Staging: hv: mouse_drv: Get rid of some unused code Now, get rid of struct mousevsc_drv_obj. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c index 0eca451626d0..af4db6422635 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