From: Arthur Othieno Date: Thu, 1 Dec 2005 20:58:01 +0000 (+0000) Subject: [ARM] sema_count() removal X-Git-Tag: v2.6.15-rc5~17^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11849fe67430ba48547e17b25a7831da29863efa;hp=08af295ba491123d067400228d887ca574aceecd;p=linux-2.6 [ARM] sema_count() removal sema_count() defined only for ARM but not used anywhere. Signed-off-by: Arthur Othieno Signed-off-by: Andrew Morton Signed-off-by: Russell King --- diff --git a/include/asm-arm/semaphore.h b/include/asm-arm/semaphore.h index 71ca7d4126..d5dc624f45 100644 --- a/include/asm-arm/semaphore.h +++ b/include/asm-arm/semaphore.h @@ -47,11 +47,6 @@ static inline void init_MUTEX_LOCKED(struct semaphore *sem) sema_init(sem, 0); } -static inline int sema_count(struct semaphore *sem) -{ - return atomic_read(&sem->count); -} - /* * special register calling convention */