diff options
Diffstat (limited to 'arch/s390/include/asm/rwsem.h')
-rw-r--r-- | arch/s390/include/asm/rwsem.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/s390/include/asm/rwsem.h b/arch/s390/include/asm/rwsem.h index f0f527756ee1..80522dcb6cc2 100644 --- a/arch/s390/include/asm/rwsem.h +++ b/arch/s390/include/asm/rwsem.h | |||
@@ -325,10 +325,5 @@ static inline long rwsem_atomic_update(long delta, struct rw_semaphore *sem) | |||
325 | return new; | 325 | return new; |
326 | } | 326 | } |
327 | 327 | ||
328 | static inline int rwsem_is_locked(struct rw_semaphore *sem) | ||
329 | { | ||
330 | return (sem->count != 0); | ||
331 | } | ||
332 | |||
333 | #endif /* __KERNEL__ */ | 328 | #endif /* __KERNEL__ */ |
334 | #endif /* _S390_RWSEM_H */ | 329 | #endif /* _S390_RWSEM_H */ |