diff mbox series

[-next] mm/madvise: remove duplicate include

Message ID 20200915121550.30584-1-yuehaibing@huawei.com (mailing list archive)
State New, archived
Headers show
Series [-next] mm/madvise: remove duplicate include | expand

Commit Message

YueHaibing Sept. 15, 2020, 12:15 p.m. UTC
Remove duplicate header which is included twice.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 mm/madvise.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Mike Rapoport Sept. 21, 2020, 12:11 p.m. UTC | #1
On Tue, Sep 15, 2020 at 08:15:50PM +0800, YueHaibing wrote:
> Remove duplicate header which is included twice.
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
>  mm/madvise.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/mm/madvise.c b/mm/madvise.c index
> 460e19d60ba3..9bd21f9019d9 100644 --- a/mm/madvise.c +++
> b/mm/madvise.c @@ -30,7 +30,6 @@ #include <linux/swapops.h>
>  #include <linux/shmem_fs.h>
>  #include <linux/mmu_notifier.h>
> -#include <linux/sched/mm.h>

To what version does this apply?
I cannot find duplicate sched/mm.h neither in v5.9-rc6 nor in mmotm

>  
>  #include <asm/tlb.h>
>  
> -- 
> 2.17.1
> 
> 
>
diff mbox series

Patch

diff --git a/mm/madvise.c b/mm/madvise.c
index 460e19d60ba3..9bd21f9019d9 100644
--- a/mm/madvise.c
+++ b/mm/madvise.c
@@ -30,7 +30,6 @@ 
 #include <linux/swapops.h>
 #include <linux/shmem_fs.h>
 #include <linux/mmu_notifier.h>
-#include <linux/sched/mm.h>
 
 #include <asm/tlb.h>