[PATCH v2 05/21] ARM/io: Remove useless definition of mmiowb()
From: Will Deacon
Date: Fri Apr 05 2019 - 10:00:08 EST
ARM includes asm-generic/io.h, which provides a dummy definition of
mmiowb() if one isn't already provided by the architecture.
Remove the useless definition.
Signed-off-by: Will Deacon <will.deacon@xxxxxxx>
---
arch/arm/include/asm/io.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h
index 6b51826ab3d1..7e22c81398c4 100644
--- a/arch/arm/include/asm/io.h
+++ b/arch/arm/include/asm/io.h
@@ -281,8 +281,6 @@ extern void _memcpy_fromio(void *, const volatile void __iomem *, size_t);
extern void _memcpy_toio(volatile void __iomem *, const void *, size_t);
extern void _memset_io(volatile void __iomem *, int, size_t);
-#define mmiowb()
-
/*
* Memory access primitives
* ------------------------
--
2.11.0