From 6ebc2bb92a35a651d0573d67664eb286505bb985 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 17 Jun 2011 17:30:29 -0400 Subject: [PATCH] Blackfin: SMP: punt unused atomic_test_mask helper No one uses this func, so just punt it. Signed-off-by: Mike Frysinger --- arch/blackfin/include/asm/atomic.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/blackfin/include/asm/atomic.h b/arch/blackfin/include/asm/atomic.h index 0cb40ce22651..4c707dbe1ff9 100644 --- a/arch/blackfin/include/asm/atomic.h +++ b/arch/blackfin/include/asm/atomic.h @@ -76,11 +76,6 @@ static inline void atomic_set_mask(int mask, atomic_t *v) __raw_atomic_set_asm(&v->counter, mask); } -static inline int atomic_test_mask(int mask, atomic_t *v) -{ - return __raw_atomic_test_asm(&v->counter, mask); -} - /* Atomic operations are already serializing */ #define smp_mb__before_atomic_dec() barrier() #define smp_mb__after_atomic_dec() barrier() -- 2.20.1