aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorYao Dongdong <[email protected]>2014-11-28 04:25:35 +0000
committerPaul Moore <[email protected]>2014-12-01 21:42:50 +0000
commit00fec2a10b51a071ec92da256ccd30f6b13fc55b (patch)
treebee8656c992f20c3f7de71ecebdb0365b9984548 /security/selinux/hooks.c
parentselinux: convert WARN_ONCE() to printk() in selinux_nlmsg_perm() (diff)
downloadkernel-00fec2a10b51a071ec92da256ccd30f6b13fc55b.tar.gz
kernel-00fec2a10b51a071ec92da256ccd30f6b13fc55b.zip
selinux: Remove security_ops extern
security_ops is not used in this file. Signed-off-by: Yao Dongdong <[email protected]> Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r--security/selinux/hooks.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 654f0710620a..49fc8338bcc7 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -95,8 +95,6 @@
#include "audit.h"
#include "avc_ss.h"
-extern struct security_operations *security_ops;
-
/* SECMARK reference count */
static atomic_t selinux_secmark_refcount = ATOMIC_INIT(0);