[PATCH 04/20] ARM/io: Remove useless definition of mmiowb()

From: Will Deacon
Date: Fri Mar 01 2019 - 09:04:21 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