diff options
author | Christian Lütke-Stetzkamp <christian@lkamp.de> | 2018-04-29 19:32:20 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-06 19:08:05 -0700 |
commit | 36b730101d9bc5236d107c73d7fd8d5d84031376 (patch) | |
tree | ebac4b88cdcd6a0c5cf8b8c151c069040fb0d178 /drivers/staging/mt7621-mmc | |
parent | a3edb7c1ef16851c36970bab8421ef93f46c3f91 (diff) | |
download | blackbird-obmc-linux-36b730101d9bc5236d107c73d7fd8d5d84031376.tar.gz blackbird-obmc-linux-36b730101d9bc5236d107c73d7fd8d5d84031376.zip |
staging: mt7621-mmc: Remove unused macro msdc_init_gpd_ex
The macro msdc_init_gpd_ex is never used and does not provied any
information about the hardware, so it is removed.
Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/mt7621-mmc')
-rw-r--r-- | drivers/staging/mt7621-mmc/sd.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/mt7621-mmc/sd.c b/drivers/staging/mt7621-mmc/sd.c index e94b2bafa8eb..00dacf8c9625 100644 --- a/drivers/staging/mt7621-mmc/sd.c +++ b/drivers/staging/mt7621-mmc/sd.c @@ -195,15 +195,6 @@ static int msdc_rsp[] = { 7, /* RESP_R1b */ }; -/* For Inhanced DMA */ -#define msdc_init_gpd_ex(_gpd, extlen, cmd, arg, blknum) \ - do { \ - ((struct gpd *)_gpd)->extlen = extlen; \ - ((struct gpd *)_gpd)->cmd = cmd; \ - ((struct gpd *)_gpd)->arg = arg; \ - ((struct gpd *)_gpd)->blknum = blknum; \ - } while (0) - #define msdc_txfifocnt() ((sdr_read32(MSDC_FIFOCS) & MSDC_FIFOCS_TXCNT) >> 16) #define msdc_rxfifocnt() ((sdr_read32(MSDC_FIFOCS) & MSDC_FIFOCS_RXCNT) >> 0) #define msdc_fifo_write32(v) sdr_write32(MSDC_TXDATA, (v)) |