瀏覽代碼

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>
Yao Dongdong 10 年之前
父節點
當前提交
00fec2a10b
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      security/selinux/hooks.c

+ 0 - 2
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);