* [PATCH] arm: sema_count() removal
@ 2005-10-28 19:08 Arthur Othieno
0 siblings, 0 replies; only message in thread
From: Arthur Othieno @ 2005-10-28 19:08 UTC (permalink / raw)
To: akpm; +Cc: rmk, linux-kernel
sema_count() defined only for ARM but not used anywhere.
Signed-off-by: Arthur Othieno <a.othieno@bluewin.ch>
---
include/asm-arm/semaphore.h | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
45427c6a7e19359533fa6f29d5a963c722ce124b
diff --git a/include/asm-arm/semaphore.h b/include/asm-arm/semaphore.h
--- a/include/asm-arm/semaphore.h
+++ b/include/asm-arm/semaphore.h
@@ -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
*/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-10-28 19:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-28 19:08 [PATCH] arm: sema_count() removal Arthur Othieno
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox