From: Mike Frysinger Date: Fri, 17 Jun 2011 21:30:29 +0000 (-0400) Subject: Blackfin: SMP: punt unused atomic_test_mask helper X-Git-Tag: v3.1-rc1~268^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6ebc2bb92a35a651d0573d67664eb286505bb985;p=platform%2Fkernel%2Flinux-stable.git Blackfin: SMP: punt unused atomic_test_mask helper No one uses this func, so just punt it. Signed-off-by: Mike Frysinger --- diff --git a/arch/blackfin/include/asm/atomic.h b/arch/blackfin/include/asm/atomic.h index 0cb40ce..4c707db 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()