From: Christian Lütke-Stetzkamp Date: Sun, 29 Apr 2018 17:32:43 +0000 (+0200) Subject: staging: mt7621-mmc: Remove unused barrier macros X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b06b46059b721358fd5eba2f8f16c5ce4da3a2b3;p=linux.git staging: mt7621-mmc: Remove unused barrier macros The current code has some barrier macros in it, which are already '#if 0' out, so just remove them. Signed-off-by: Christian Lütke-Stetzkamp Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/mt7621-mmc/sd.c b/drivers/staging/mt7621-mmc/sd.c index d92234a96551e..ddac4ce6457b4 100644 --- a/drivers/staging/mt7621-mmc/sd.c +++ b/drivers/staging/mt7621-mmc/sd.c @@ -60,13 +60,6 @@ #endif #define IRQ_SDC 22 /*FIXME*/ -#if 0 /* --- by chhung */ -#define isb() __asm__ __volatile__ ("" : : : "memory") -#define dsb() __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 4" \ - : : "r" (0) : "memory") -#define dmb() __asm__ __volatile__ ("" : : : "memory") -#endif /* end of --- */ - #define DRV_NAME "mtk-sd" #if defined(CONFIG_SOC_MT7620)