summaryrefslogtreecommitdiffstats
path: root/arch/hexagon/include/asm/spinlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/hexagon/include/asm/spinlock.h')
-rw-r--r--arch/hexagon/include/asm/spinlock.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/hexagon/include/asm/spinlock.h b/arch/hexagon/include/asm/spinlock.h
index 53a8d5885887..9f9414b9c303 100644
--- a/arch/hexagon/include/asm/spinlock.h
+++ b/arch/hexagon/include/asm/spinlock.h
@@ -86,16 +86,6 @@ static inline int arch_read_trylock(arch_rwlock_t *lock)
return temp;
}
-static inline int arch_read_can_lock(arch_rwlock_t *rwlock)
-{
- return rwlock->lock == 0;
-}
-
-static inline int arch_write_can_lock(arch_rwlock_t *rwlock)
-{
- return rwlock->lock == 0;
-}
-
/* Stuffs a -1 in the lock value? */
static inline void arch_write_lock(arch_rwlock_t *lock)
{
OpenPOWER on IntegriCloud