staging: mt7621-mmc: Remove unused field data_offset from msdc_hw
authorChristian Lütke-Stetzkamp <christian@lkamp.de>
Wed, 18 Apr 2018 15:27:29 +0000 (17:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 13:37:49 +0000 (15:37 +0200)
The data_offset field in msdc_hw is never used, so remove it.

Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-mmc/board.h
drivers/staging/mt7621-mmc/sd.c

index a60347cd3da80e7ef5c0f77823b31d006419d511..544d736e2dad8d6004e8e457e47e4f96068db9f0 100644 (file)
@@ -60,7 +60,6 @@ struct msdc_hw {
        unsigned char  cmd_drv;          /* command pad driving */
        unsigned char  dat_drv;          /* data pad driving */
        unsigned long  flags;            /* hardware capability flags */
-       unsigned long  data_offset;      /* data address offset */
 
        /* config gpio pull mode */
        void (*config_gpio_pin)(int type, int pull);
index 124a763f604945d7fe0425283d9161d58408ebbb..43a59da5b4182bbb7bae3d5376ee9de741a5f152 100644 (file)
@@ -182,7 +182,6 @@ struct msdc_hw msdc0_hw = {
        .clk_drv        = 4,
        .cmd_drv        = 4,
        .dat_drv        = 4,
-       .data_offset    = 0,
        .flags          = MSDC_CD_PIN_EN | MSDC_REMOVABLE,
 //     .flags          = MSDC_WP_PIN_EN | MSDC_CD_PIN_EN | MSDC_REMOVABLE,
 };