summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include/asm/rwsem.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/include/asm/rwsem.h')
-rw-r--r--arch/xtensa/include/asm/rwsem.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/xtensa/include/asm/rwsem.h b/arch/xtensa/include/asm/rwsem.h
index 2fa420212353..da61633ccba8 100644
--- a/arch/xtensa/include/asm/rwsem.h
+++ b/arch/xtensa/include/asm/rwsem.h
@@ -133,9 +133,4 @@ static inline int rwsem_atomic_update(int delta, struct rw_semaphore *sem)
return atomic_add_return(delta, (atomic_t *)(&sem->count));
}
-static inline int rwsem_is_locked(struct rw_semaphore *sem)
-{
- return (sem->count != 0);
-}
-
#endif /* _XTENSA_RWSEM_H */
OpenPOWER on IntegriCloud