From 6c441358a1d7dfe0f49d954e22fa5205064fbebd Mon Sep 17 00:00:00 2001 From: Arthur Othieno Date: Thu, 1 Dec 2005 20:58:01 +0000 Subject: [PATCH] --- yaml --- r: 14931 b: refs/heads/master c: 11849fe67430ba48547e17b25a7831da29863efa h: refs/heads/master i: 14929: 58cb0793368c136d5b4609b5096148912132da2e 14927: 3e964a2da74761252b1136d9bb4ff43b1bda9745 v: v3 --- [refs] | 2 +- trunk/include/asm-arm/semaphore.h | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 205210453a0f..b2dc430e1f8e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 08af295ba491123d067400228d887ca574aceecd +refs/heads/master: 11849fe67430ba48547e17b25a7831da29863efa diff --git a/trunk/include/asm-arm/semaphore.h b/trunk/include/asm-arm/semaphore.h index 71ca7d412687..d5dc624f452a 100644 --- a/trunk/include/asm-arm/semaphore.h +++ b/trunk/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 */