alpha: locks: remove unused arch_*_relax operations
authorWill Deacon <[email protected]>
Fri, 21 Jun 2013 17:17:22 +0000 (18:17 +0100)
committerMatt Turner <[email protected]>
Fri, 19 Jul 2013 20:54:23 +0000 (13:54 -0700)
The arch_{spin,read,write}_relax macros are not used anywhere in the
kernel and are typically just aliases for cpu_relax().

This patch removes the unused definitions for Alpha.

Cc: Al Viro <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Signed-off-by: Matt Turner <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
arch/alpha/include/asm/spinlock.h

index 3bba21e41b818e1ff8fb7f346721dc8e95f93950..37b570d01202e4ee62d5dcc11af345f1805e81a0 100644 (file)
@@ -168,8 +168,4 @@ static inline void arch_write_unlock(arch_rwlock_t * lock)
 #define arch_read_lock_flags(lock, flags) arch_read_lock(lock)
 #define arch_write_lock_flags(lock, flags) arch_write_lock(lock)
 
-#define arch_spin_relax(lock)  cpu_relax()
-#define arch_read_relax(lock)  cpu_relax()
-#define arch_write_relax(lock) cpu_relax()
-
 #endif /* _ALPHA_SPINLOCK_H */