2018-10-04 13:48:52

by Michael Schupikov

[permalink] [raw]
Subject: [PATCH] kernel/sysctl.c: remove duplicated include

Remove one include of <linux/pipe_fs_i.h>.
No functional changes.

Signed-off-by: Michael Schupikov <[email protected]>
---
kernel/sysctl.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index cc02050fd0c4..523cb36b72eb 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -66,7 +66,6 @@
#include <linux/kexec.h>
#include <linux/bpf.h>
#include <linux/mount.h>
-#include <linux/pipe_fs_i.h>

#include <linux/uaccess.h>
#include <asm/processor.h>
--
2.19.0



2018-10-04 14:10:57

by Richard Weinberger

[permalink] [raw]
Subject: Re: [PATCH] kernel/sysctl.c: remove duplicated include

On Thu, Oct 4, 2018 at 3:48 PM Michael Schupikov <[email protected]> wrote:
>
> Remove one include of <linux/pipe_fs_i.h>.
> No functional changes.
>
> Signed-off-by: Michael Schupikov <[email protected]>
> ---
> kernel/sysctl.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/kernel/sysctl.c b/kernel/sysctl.c
> index cc02050fd0c4..523cb36b72eb 100644
> --- a/kernel/sysctl.c
> +++ b/kernel/sysctl.c
> @@ -66,7 +66,6 @@
> #include <linux/kexec.h>
> #include <linux/bpf.h>
> #include <linux/mount.h>
> -#include <linux/pipe_fs_i.h>
>
> #include <linux/uaccess.h>
> #include <asm/processor.h>

Reviewed-by: Richard Weinberger <[email protected]>

--
Thanks,
//richard

2018-10-04 19:40:31

by Luis Chamberlain

[permalink] [raw]
Subject: Re: [PATCH] kernel/sysctl.c: remove duplicated include

On Thu, Oct 04, 2018 at 04:10:14PM +0200, Richard Weinberger wrote:
> On Thu, Oct 4, 2018 at 3:48 PM Michael Schupikov <[email protected]> wrote:
> >
> > Remove one include of <linux/pipe_fs_i.h>.
> > No functional changes.
> >
> > Signed-off-by: Michael Schupikov <[email protected]>
> > ---
> > kernel/sysctl.c | 1 -
> > 1 file changed, 1 deletion(-)
> >
> > diff --git a/kernel/sysctl.c b/kernel/sysctl.c
> > index cc02050fd0c4..523cb36b72eb 100644
> > --- a/kernel/sysctl.c
> > +++ b/kernel/sysctl.c
> > @@ -66,7 +66,6 @@
> > #include <linux/kexec.h>
> > #include <linux/bpf.h>
> > #include <linux/mount.h>
> > -#include <linux/pipe_fs_i.h>
> >
> > #include <linux/uaccess.h>
> > #include <asm/processor.h>
>
> Reviewed-by: Richard Weinberger <[email protected]>

Acked-by: Luis Chamberlain <[email protected]>

Luis