security: Remove unnecessary inclusions of asm/semaphore.h
authorMatthew Wilcox <matthew@wil.cx>
Tue, 26 Feb 2008 15:49:01 +0000 (10:49 -0500)
committerMatthew Wilcox <willy@linux.intel.com>
Sat, 19 Apr 2008 02:17:25 +0000 (22:17 -0400)
None of these files use any of the functionality promised by
asm/semaphore.h.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
security/selinux/selinuxfs.c
security/selinux/ss/conditional.c
security/selinux/xfrm.c

index 26fabad097693ce5ea6e7ab8351e19840ad675bf..7b681692be4793db8723a34b8474cde78156d7c7 100644 (file)
@@ -28,7 +28,6 @@
 #include <linux/percpu.h>
 #include <linux/audit.h>
 #include <asm/uaccess.h>
-#include <asm/semaphore.h>
 
 /* selinuxfs pseudo filesystem for exporting the security policy API.
    Based on the proc code and the fs/nfsd/nfsctl.c code. */
index a996cf1d378ac2323921c04bdc7613150527389f..da0566c4f329ad8d8b61cf9f7e62a612cccbe18b 100644 (file)
@@ -11,7 +11,6 @@
 #include <linux/errno.h>
 #include <linux/string.h>
 #include <linux/spinlock.h>
-#include <asm/semaphore.h>
 #include <linux/slab.h>
 
 #include "security.h"
index 874d17c83c610482df080d8bc597f0e7e6eacf56..3b8b994faad48a87fe0b3c5ef739ac2a63dcac2e 100644 (file)
@@ -45,7 +45,6 @@
 #include <net/xfrm.h>
 #include <net/checksum.h>
 #include <net/udp.h>
-#include <asm/semaphore.h>
 #include <asm/atomic.h>
 
 #include "avc.h"