From 36b730101d9bc5236d107c73d7fd8d5d84031376 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20L=C3=BCtke-Stetzkamp?= Date: Sun, 29 Apr 2018 19:32:20 +0200 Subject: [PATCH] staging: mt7621-mmc: Remove unused macro msdc_init_gpd_ex MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: NeilBrown Signed-off-by: Greg Kroah-Hartman --- drivers/staging/mt7621-mmc/sd.c | 9 --------- 1 file changed, 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)) -- 2.30.2