Commit 36b73010 authored by Christian Lütke-Stetzkamp's avatar Christian Lütke-Stetzkamp Committed by Greg Kroah-Hartman

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: default avatarChristian Lütke-Stetzkamp <christian@lkamp.de>
Reviewed-by: default avatarNeilBrown <neil@brown.name>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a3edb7c1
...@@ -195,15 +195,6 @@ static int msdc_rsp[] = { ...@@ -195,15 +195,6 @@ static int msdc_rsp[] = {
7, /* RESP_R1b */ 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_txfifocnt() ((sdr_read32(MSDC_FIFOCS) & MSDC_FIFOCS_TXCNT) >> 16)
#define msdc_rxfifocnt() ((sdr_read32(MSDC_FIFOCS) & MSDC_FIFOCS_RXCNT) >> 0) #define msdc_rxfifocnt() ((sdr_read32(MSDC_FIFOCS) & MSDC_FIFOCS_RXCNT) >> 0)
#define msdc_fifo_write32(v) sdr_write32(MSDC_TXDATA, (v)) #define msdc_fifo_write32(v) sdr_write32(MSDC_TXDATA, (v))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment