summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorYao Dongdong <yaodongdong@huawei.com>2014-11-28 05:25:35 +0100
committerPaul Moore <pmoore@redhat.com>2014-12-01 22:42:50 +0100
commit00fec2a10b51a071ec92da256ccd30f6b13fc55b (patch)
treebee8656c992f20c3f7de71ecebdb0365b9984548 /security
parentselinux: convert WARN_ONCE() to printk() in selinux_nlmsg_perm() (diff)
downloadlinux-00fec2a10b51a071ec92da256ccd30f6b13fc55b.tar.xz
linux-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')
-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);