Re: [PATCH] mm/madvise.c: Remove the unused include statements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 11, 2020 at 07:18:31PM +0800, Tian Tao wrote:
>linux/sched/mm.h is included more than once, Remove the one that isn't
>necessary.
>

Would you mind giving more detail about this re-include? I don't see the file
linux/sched/mm.h is included for more than once.

>Signed-off-by: Tian Tao <tiantao6@xxxxxxxxxxxxx>
>---
> mm/madvise.c | 1 -
> 1 file changed, 1 deletion(-)
>
>diff --git a/mm/madvise.c b/mm/madvise.c
>index c5acc2b..8c175f9 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>
> 
>-- 
>2.7.4

-- 
Wei Yang
Help you, Help me




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux