summaryrefslogtreecommitdiff
path: root/arch/alpha/include/asm/rwsem.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/include/asm/rwsem.h')
-rw-r--r--arch/alpha/include/asm/rwsem.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/alpha/include/asm/rwsem.h b/arch/alpha/include/asm/rwsem.h
index c9f5b90e926e..fc7f54337c3a 100644
--- a/arch/alpha/include/asm/rwsem.h
+++ b/arch/alpha/include/asm/rwsem.h
@@ -224,10 +224,5 @@ static inline long rwsem_atomic_update(long val, struct rw_semaphore *sem)
#endif
}
-static inline int rwsem_is_locked(struct rw_semaphore *sem)
-{
- return (sem->count != 0);
-}
-
#endif /* __KERNEL__ */
#endif /* _ALPHA_RWSEM_H */