From: Yao Dongdong <yaodongdong@huawei.com>
Date: Fri, 28 Nov 2014 04:25:35 +0000 (+0000)
Subject: selinux: Remove security_ops extern
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=00fec2a10b51a071ec92da256ccd30f6b13fc55b;p=linux.git

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>
---

diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 654f0710620af..49fc8338bcc74 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);