aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/mt7621-mmc
diff options
context:
space:
mode:
authorChristian Lütke-Stetzkamp <christian@lkamp.de>2018-04-29 19:32:20 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-06 19:08:05 -0700
commit36b730101d9bc5236d107c73d7fd8d5d84031376 (patch)
treeebac4b88cdcd6a0c5cf8b8c151c069040fb0d178 /drivers/staging/mt7621-mmc
parentstaging: mt7621-mmc: Remove unused field clk_drv from msdc_hw (diff)
downloadlinux-dev-36b730101d9bc5236d107c73d7fd8d5d84031376.tar.xz
linux-dev-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.c9
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))