]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Remove __DECLARE_SEMAPHORE_GENERIC
authorMatthew Wilcox <matthew@wil.cx>
Wed, 23 Apr 2008 14:07:27 +0000 (10:07 -0400)
committerMatthew Wilcox <willy@linux.intel.com>
Thu, 24 Jul 2008 12:31:21 +0000 (08:31 -0400)
There are no users of __DECLARE_SEMAPHORE_GENERIC in the kernel

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
include/linux/semaphore.h

index 9cae64b00d6bb0e19e33ab9cc70c6df58089325a..7415839ac890f538b88611f7843b5b770e73292f 100644 (file)
@@ -26,10 +26,8 @@ struct semaphore {
        .wait_list      = LIST_HEAD_INIT((name).wait_list),             \
 }
 
-#define __DECLARE_SEMAPHORE_GENERIC(name, count) \
-       struct semaphore name = __SEMAPHORE_INITIALIZER(name, count)
-
-#define DECLARE_MUTEX(name)    __DECLARE_SEMAPHORE_GENERIC(name, 1)
+#define DECLARE_MUTEX(name)    \
+       struct semaphore name = __SEMAPHORE_INITIALIZER(name, 1)
 
 static inline void sema_init(struct semaphore *sem, int val)
 {