summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Lütke-Stetzkamp <christian@lkamp.de>2018-04-18 17:27:29 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-23 15:37:49 +0200
commitab71f5d73fe06765d40a285d1298f523cdf17fd6 (patch)
treed63473ec94671310820bd7407d0b818f1576ef96
parentd1eade674e2edc68e5b23d26c70440a4f0cc3750 (diff)
downloadlinux-ab71f5d73fe06765d40a285d1298f523cdf17fd6.tar.bz2
staging: mt7621-mmc: Remove unused field data_offset from msdc_hw
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>
-rw-r--r--drivers/staging/mt7621-mmc/board.h1
-rw-r--r--drivers/staging/mt7621-mmc/sd.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/mt7621-mmc/board.h b/drivers/staging/mt7621-mmc/board.h
index a60347cd3da8..544d736e2dad 100644
--- a/drivers/staging/mt7621-mmc/board.h
+++ b/drivers/staging/mt7621-mmc/board.h
@@ -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);
diff --git a/drivers/staging/mt7621-mmc/sd.c b/drivers/staging/mt7621-mmc/sd.c
index 124a763f6049..43a59da5b418 100644
--- a/drivers/staging/mt7621-mmc/sd.c
+++ b/drivers/staging/mt7621-mmc/sd.c
@@ -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,
};