summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorArthur Othieno <a.othieno@bluewin.ch>2005-12-01 20:58:01 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-12-01 20:58:01 +0000
commit11849fe67430ba48547e17b25a7831da29863efa (patch)
tree0f10c7ff4c70b3242f0650c3d6c2d0fe461f2836 /include
parent08af295ba491123d067400228d887ca574aceecd (diff)
downloadop-kernel-dev-11849fe67430ba48547e17b25a7831da29863efa.zip
op-kernel-dev-11849fe67430ba48547e17b25a7831da29863efa.tar.gz
[ARM] sema_count() removal
sema_count() defined only for ARM but not used anywhere. Signed-off-by: Arthur Othieno <a.othieno@bluewin.ch> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/semaphore.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-arm/semaphore.h b/include/asm-arm/semaphore.h
index 71ca7d4..d5dc624 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
*/
OpenPOWER on IntegriCloud