atomic: Collapse all atomic_{set,clear}_mask definitions
[firefly-linux-kernel-4.4.55.git] / include / asm-generic / atomic.h
index a41b0b8f74049df6f59cbdabd0154f93d02568ce..d4d7e337fdcb5d7bda73656c1e8b66fee6ff2cc3 100644 (file)
@@ -113,16 +113,6 @@ ATOMIC_OP(xor, ^)
 #undef ATOMIC_OP_RETURN
 #undef ATOMIC_OP
 
-static inline __deprecated void atomic_clear_mask(unsigned int mask, atomic_t *v)
-{
-       atomic_and(~mask, v);
-}
-
-static inline __deprecated void atomic_set_mask(unsigned int mask, atomic_t *v)
-{
-       atomic_or(mask, v);
-}
-
 /*
  * Atomic operations that C can't guarantee us.  Useful for
  * resource counting etc..