]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/semaphore.h
Merge master.kernel.org:/home/rmk/linux-2.6-serial
[linux-2.6-omap-h63xx.git] / include / asm-arm / semaphore.h
index 71ca7d412687f9bb0e1a2c2e61a8857e96cec6f5..d5dc624f452a203142908c5cf96adf642dcdbd2b 100644 (file)
@@ -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
  */