[PATCH 30/30] staging: mt7621-mmc: Remove unused barrier macros
Christian Lütke-Stetzkamp
christian at lkamp.de
Sun Apr 29 17:32:43 UTC 2018
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 <christian at lkamp.de>
---
drivers/staging/mt7621-mmc/sd.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/staging/mt7621-mmc/sd.c b/drivers/staging/mt7621-mmc/sd.c
index d92234a96551..ddac4ce6457b 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)
--
2.16.1
More information about the devel
mailing list