Re: [PATCH] selinux: Remove security_ops extern

From: Paul Moore
Date: Mon Dec 01 2014 - 16:47:38 EST


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 <yaodongdong@xxxxxxxxxx>
> ---
> 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
www.paul-moore.com

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/