[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHC9VhQt9q=wN2Rk1rvO=Xr9C4X-HztU4C=dMV_6ss_-BBzm8Q@mail.gmail.com>
Date: Mon, 26 Nov 2018 18:38:24 -0500
From: Paul Moore <paul@...l-moore.com>
To: tiny.windzz@...il.com
Cc: Eric Paris <eparis@...hat.com>, linux-audit@...hat.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] audit/filter: remove some duplicated includes
On Mon, Nov 26, 2018 at 10:01 AM Yangtao Li <tiny.windzz@...il.com> wrote:
> audit.h and fs.h are included twice.It's unnecessary.
> hence just remove them.
>
> Signed-off-by: Yangtao Li <tiny.windzz@...il.com>
> ---
> kernel/auditfilter.c | 2 --
> 1 file changed, 2 deletions(-)
See my previous comments.
> diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c
> index bf309f2592c4..6d43928a41c2 100644
> --- a/kernel/auditfilter.c
> +++ b/kernel/auditfilter.c
> @@ -22,10 +22,8 @@
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
>
> #include <linux/kernel.h>
> -#include <linux/audit.h>
> #include <linux/kthread.h>
> #include <linux/mutex.h>
> -#include <linux/fs.h>
> #include <linux/namei.h>
> #include <linux/netlink.h>
> #include <linux/sched.h>
> --
> 2.17.0
>
--
paul moore
www.paul-moore.com
Powered by blists - more mailing lists