Skip to content

Commit 38ef051

Browse files
DerDakonYoshinori Sato
authored andcommitted
H8300: remove unused barrier defines
From c907e749917f430e3dc62048985c8419778572f9 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer <eb@emlix.com> Date: Fri, 14 Jul 2017 11:19:08 +0200 Subject: [PATCH] H8300: remove unused barrier defines They were introduced in d2a5f49 long after 2e39465 removed the remnants of all previous instances from the tree. Signed-off-by: Rolf Eike Beer <eb@emlix.com> Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
1 parent 3ab4436 commit 38ef051

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎arch/h8300/include/asm/bitops.h‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@ static inline void FNAME(int nr, volatile unsigned long *addr) \
5151
} \
5252
}
5353

54-
/*
55-
* clear_bit() doesn't provide any barrier for the compiler.
56-
*/
57-
#define smp_mb__before_clear_bit() barrier()
58-
#define smp_mb__after_clear_bit() barrier()
59-
6054
H8300_GEN_BITOP(set_bit, "bset")
6155
H8300_GEN_BITOP(clear_bit, "bclr")
6256
H8300_GEN_BITOP(change_bit, "bnot")

0 commit comments

Comments
 (0)