security_ops is not used in this file.
Signed-off-by: Yao Dongdong <[email protected]>
---
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
On Friday, November 28, 2014 04:25:35 AM Yao Dongdong wrote:
> security_ops is not used in this file.
>
> Signed-off-by: Yao Dongdong <[email protected]>
> ---
> security/selinux/hooks.c | 2 --
> 1 file changed, 2 deletions(-)
Applied, thanks.
> 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);
--
paul moore
http://www.paul-moore.com