Skip to content

Commit

Permalink
[ARM] sema_count() removal
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arthur Othieno authored and Russell King committed Dec 1, 2005
1 parent 08af295 commit 11849fe
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions include/asm-arm/semaphore.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 11849fe

Please sign in to comment.