[PATCH] security: keys: remove unused key_alloc_sem

From: Daniel Walker
Date: Fri May 23 2008 - 10:27:32 EST


This semaphore doesn't appear to be used, so removing it.

Signed-off-by: Daniel Walker <dwalker@xxxxxxxxxx>

---
security/keys/internal.h | 1 -
1 file changed, 1 deletion(-)

Index: linux-2.6.25/security/keys/internal.h
===================================================================
--- linux-2.6.25.orig/security/keys/internal.h
+++ linux-2.6.25/security/keys/internal.h
@@ -78,7 +78,6 @@ extern unsigned key_quota_maxbytes;

extern struct rb_root key_serial_tree;
extern spinlock_t key_serial_lock;
-extern struct semaphore key_alloc_sem;
extern struct mutex key_construction_mutex;
extern wait_queue_head_t request_key_conswq;

--

--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/