summaryrefslogtreecommitdiff
path: root/security/selinux/selinuxfs.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/selinuxfs.c
parente8a65a3f67f8a85802c0a0250e48c4c4652d0da0 (diff)
downloadlinux-rt-02f5daa563456c1ff3c3422aa3ec00e67460f762.tar.gz
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/selinuxfs.c')
-rw-r--r--security/selinux/selinuxfs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/security/selinux/selinuxfs.c b/security/selinux/selinuxfs.c
index ba2ada5f16a9..f46658722c78 100644
--- a/security/selinux/selinuxfs.c
+++ b/security/selinux/selinuxfs.c
@@ -75,8 +75,6 @@ static char policy_opened;
/* global data for policy capabilities */
static struct dentry *policycap_dir;
-extern void selnl_notify_setenforce(int val);
-
/* Check whether a task is allowed to use a security operation. */
static int task_has_security(struct task_struct *tsk,
u32 perms)