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

Commit 008f3853 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 is_card_present



The macro is_card_present is unused and also a duplicate of a macro in
mmc, 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 2de18694
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -218,10 +218,6 @@ static u32 hclks[] = {50000000}; /* +/- by chhung */
		writel((cmd), host->base + SDC_CMD);	\
	} while (0)

// can modify to read h/w register.
//#define is_card_present(h)   ((readl(MSDC_PS) & MSDC_PS_CDSTS) ? 0 : 1);
#define is_card_present(h)     (((struct msdc_host *)(h))->card_inserted)

/* +++ by chhung */
#ifndef __ASSEMBLY__
#define PHYSADDR(a)             (((unsigned long)(a)) & 0x1fffffff)