summaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2011-08-30 06:18:06 +0200
committerEric Paris <eparis@redhat.com>2012-01-06 00:52:51 +0100
commit02f5daa563456c1ff3c3422aa3ec00e67460f762 (patch)
treeb2394602c587815aae9f1b07ac272302800d9288 /security/selinux/hooks.c
parentselinux: sparse fix: eliminate warnings for selinuxfs (diff)
downloadlinux-02f5daa563456c1ff3c3422aa3ec00e67460f762.tar.xz
linux-02f5daa563456c1ff3c3422aa3ec00e67460f762.zip
selinux: sparse fix: fix warnings in netlink code
Fix sparse warnings in SELinux Netlink code. Signed-off-by: James Morris <jmorris@namei.org> Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r--security/selinux/hooks.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 4a176b468719..1206cee31c79 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -92,7 +92,6 @@
#define NUM_SEL_MNT_OPTS 5
-extern int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm);
extern struct security_operations *security_ops;
/* SECMARK reference count */