Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6a1636fa authored by Christian Lütke-Stetzkamp's avatar Christian Lütke-Stetzkamp Committed by Greg Kroah-Hartman
Browse files

staging: mt7621-mmc: Remove unused macro msdc_retry



The macro msdc_retry is never used, so remove it.

Signed-off-by: default avatarChristian Lütke-Stetzkamp <christian@lkamp.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e327df5e
Loading
Loading
Loading
Loading
+0 −13
Original line number Diff line number Diff line
@@ -149,19 +149,6 @@ static int msdc_rsp[] = {

#define msdc_dma_on()        sdr_clr_bits(MSDC_CFG, MSDC_CFG_PIO)

#define msdc_retry(expr, retry, cnt) \
	do {								\
		int backup = cnt;					\
		while (retry) {						\
			if (!(expr))					\
				break;					\
			if (cnt-- == 0) {				\
				retry--; mdelay(1); cnt = backup;	\
			}						\
		}							\
		WARN_ON(retry == 0);					\
	} while (0)

static void msdc_reset_hw(struct msdc_host *host)
{
	void __iomem *base = host->base;