Skip to contentSkip to conversation

arm: sema_count() removal

PATCH New Arthur Othieno 1 participant 1 message Oct 28, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: sema_count() removal

sema_count() defined only for ARM but not used anywhere.

---

 include/asm-arm/semaphore.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

45427c6a7e19359533fa6f29d5a963c722ce124b

include/asm-arm/semaphore.h +0 -5
@@ -47,11 +47,6 @@ static inline void init_MUTEX_LOCKED(str
 	sema_init(sem, 0);
 }
 
-static inline int sema_count(struct semaphore *sem)
-{
-	return atomic_read(&sem->count);
-}
-
 /*
  * special register calling convention
  */