lkml.org 
[lkml]   [2011]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 151/206] Staging: hv: Get rid of some unused code
    Date
    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>
    ---
    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

    --
    1.7.4.1


    \
     
     \ /
      Last update: 2011-05-10 10:43    [W:0.020 / U:32.016 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site