aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux
diff options
context:
space:
mode:
authorYao Dongdong <yaodongdong@huawei.com>2014-11-28 04:25:35 +0000
committerPaul Moore <pmoore@redhat.com>2014-12-01 16:42:50 -0500
commit00fec2a10b51a071ec92da256ccd30f6b13fc55b (patch)
treebee8656c992f20c3f7de71ecebdb0365b9984548 /security/selinux
parentselinux: convert WARN_ONCE() to printk() in selinux_nlmsg_perm() (diff)
downloadlinux-dev-00fec2a10b51a071ec92da256ccd30f6b13fc55b.tar.xz
linux-dev-00fec2a10b51a071ec92da256ccd30f6b13fc55b.zip
selinux: Remove security_ops extern
security_ops is not used in this file. Signed-off-by: Yao Dongdong <yaodongdong@huawei.com> Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'security/selinux')
-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);