X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-arm%2Fsemaphore.h;h=d5dc624f452a203142908c5cf96adf642dcdbd2b;hb=977e6b9f3a9b17f1c608a9d1e5a7b5c46a5f7d4a;hp=71ca7d412687f9bb0e1a2c2e61a8857e96cec6f5;hpb=fc8e3d177fa8073895d37b50282489dbeec89eb1;p=linux-2.6 diff --git a/include/asm-arm/semaphore.h b/include/asm-arm/semaphore.h index 71ca7d4126..d5dc624f45 100644 --- a/include/asm-arm/semaphore.h +++ b/include/asm-arm/semaphore.h @@ -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 */