mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 06:33:34 +00:00
[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>
This commit is contained in:
parent
08af295ba4
commit
11849fe674
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user