aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorYao Dongdong <yaodongdong@huawei.com>2014-11-27 23:25:35 -0500
committerPaul Moore <pmoore@redhat.com>2014-12-01 16:42:50 -0500
commit00fec2a10b51a071ec92da256ccd30f6b13fc55b (patch)
treebee8656c992f20c3f7de71ecebdb0365b9984548 /security
parentd950f84c1c6658faec2ecbf5b09f7e7191953394 (diff)
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 @@
95#include "audit.h" 95#include "audit.h"
96#include "avc_ss.h" 96#include "avc_ss.h"
97 97
98extern struct security_operations *security_ops;
99
100/* SECMARK reference count */ 98/* SECMARK reference count */
101static atomic_t selinux_secmark_refcount = ATOMIC_INIT(0); 99static atomic_t selinux_secmark_refcount = ATOMIC_INIT(0);
102 100