2020-05-05 09:59:20

by Yue Haibing

[permalink] [raw]
Subject: [PATCH -next] mm: remove duplicated include from madvise.c

Remove duplicated include.

Signed-off-by: YueHaibing <[email protected]>
---
mm/madvise.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/mm/madvise.c b/mm/madvise.c
index 8fec261457a6..f8be54dd92d3 100644
--- a/mm/madvise.c
+++ b/mm/madvise.c
@@ -29,7 +29,6 @@
#include <linux/swapops.h>
#include <linux/shmem_fs.h>
#include <linux/mmu_notifier.h>
-#include <linux/sched/mm.h>
#include <linux/uio.h>

#include <asm/tlb.h>






2020-05-05 19:59:14

by Souptick Joarder

[permalink] [raw]
Subject: Re: [PATCH -next] mm: remove duplicated include from madvise.c

On Tue, May 5, 2020 at 3:26 PM YueHaibing <[email protected]> wrote:
>
> Remove duplicated include.
>
> Signed-off-by: YueHaibing <[email protected]>

Tested-by: Souptick Joarder <[email protected]>

> ---
> mm/madvise.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/mm/madvise.c b/mm/madvise.c
> index 8fec261457a6..f8be54dd92d3 100644
> --- a/mm/madvise.c
> +++ b/mm/madvise.c
> @@ -29,7 +29,6 @@
> #include <linux/swapops.h>
> #include <linux/shmem_fs.h>
> #include <linux/mmu_notifier.h>
> -#include <linux/sched/mm.h>
> #include <linux/uio.h>
>
> #include <asm/tlb.h>
>
>
>
>
>
>