[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1417148735-13522-1-git-send-email-yaodongdong@huawei.com>
Date: Fri, 28 Nov 2014 04:25:35 +0000
From: Yao Dongdong <yaodongdong@...wei.com>
To: <paul@...l-moore.com>, <sds@...ho.nsa.gov>,
<james.l.morris@...cle.com>, <serge@...lyn.com>
CC: <linux-security-module@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <lizefan@...wei.com>
Subject: [PATCH] selinux: Remove security_ops extern
security_ops is not used in this file.
Signed-off-by: Yao Dongdong <yaodongdong@...wei.com>
---
security/selinux/hooks.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index c603b20..6da7532 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);
--
1.8.3.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists