Commit d5157562 authored by Will Deacon's avatar Will Deacon
Browse files

arm64/io: Remove useless definition of mmiowb()



arm64 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.

Acked-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 7fdae81d
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -124,8 +124,6 @@ static inline u64 __raw_readq(const volatile void __iomem *addr)
#define __io_par(v)		__iormb(v)
#define __io_par(v)		__iormb(v)
#define __iowmb()		wmb()
#define __iowmb()		wmb()


#define mmiowb()		do { } while (0)

/*
/*
 * Relaxed I/O memory access primitives. These follow the Device memory
 * Relaxed I/O memory access primitives. These follow the Device memory
 * ordering rules but do not guarantee any ordering relative to Normal memory
 * ordering rules but do not guarantee any ordering relative to Normal memory