Commit 11849fe6 authored by Arthur Othieno's avatar Arthur Othieno Committed by Russell King

[ARM] sema_count() removal

sema_count() defined only for ARM but not used anywhere.
Signed-off-by: default avatarArthur Othieno <a.othieno@bluewin.ch>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 08af295b
...@@ -47,11 +47,6 @@ static inline void init_MUTEX_LOCKED(struct semaphore *sem) ...@@ -47,11 +47,6 @@ static inline void init_MUTEX_LOCKED(struct semaphore *sem)
sema_init(sem, 0); sema_init(sem, 0);
} }
static inline int sema_count(struct semaphore *sem)
{
return atomic_read(&sem->count);
}
/* /*
* special register calling convention * special register calling convention
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment