selinux: Remove security_ops extern
authorYao Dongdong <yaodongdong@huawei.com>
Fri, 28 Nov 2014 04:25:35 +0000 (04:25 +0000)
committerPaul Moore <pmoore@redhat.com>
Mon, 1 Dec 2014 21:42:50 +0000 (16:42 -0500)
security_ops is not used in this file.

Signed-off-by: Yao Dongdong <yaodongdong@huawei.com>
Signed-off-by: Paul Moore <pmoore@redhat.com>
security/selinux/hooks.c

index 654f0710620af2a5742805e609fc24145af5cf7e..49fc8338bcc7450915fe619f42d1e9a505768589 100644 (file)
@@ -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);