[PATCH] h8300: Remove stale definitions

From: Peter Zijlstra
Date: Fri Apr 14 2017 - 06:02:20 EST


Hi,

By accident I noticed h8300 still defines
smp_mb__{before,after}_clear_bit(). Those defines have been removed from
the kernel since v3.16.

Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
---
arch/h8300/include/asm/bitops.h | 6 ------
1 file changed, 6 deletions(-)

diff --git a/arch/h8300/include/asm/bitops.h b/arch/h8300/include/asm/bitops.h
index 05999aba1d6a..97c16ddcd39a 100644
--- a/arch/h8300/include/asm/bitops.h
+++ b/arch/h8300/include/asm/bitops.h
@@ -50,12 +50,6 @@ static inline void FNAME(int nr, volatile unsigned long *addr) \
} \
}

-/*
- * clear_bit() doesn't provide any barrier for the compiler.
- */
-#define smp_mb__before_clear_bit() barrier()
-#define smp_mb__after_clear_bit() barrier()
-
H8300_GEN_BITOP(set_bit, "bset")
H8300_GEN_BITOP(clear_bit, "bclr")
H8300_GEN_BITOP(change_bit, "bnot")