summaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2011-08-30 14:18:06 +1000
committerEric Paris <eparis@redhat.com>2012-01-05 18:52:51 -0500
commit02f5daa563456c1ff3c3422aa3ec00e67460f762 (patch)
treeb2394602c587815aae9f1b07ac272302800d9288 /security/selinux/hooks.c
parente8a65a3f67f8a85802c0a0250e48c4c4652d0da0 (diff)
downloadlwn-02f5daa563456c1ff3c3422aa3ec00e67460f762.tar.gz
lwn-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 */