From: Wei Yang <richard.weiyang@linux.alibaba.com>
To: Tian Tao <tiantao6@hisilicon.com>
Cc: akpm@linux-foundation.org, christian@brauner.io,
linux-mm@kvack.org, linuxarm@huawei.com
Subject: Re: [PATCH] mm/madvise.c: Remove the unused include statements
Date: Wed, 16 Sep 2020 20:59:56 +0800 [thread overview]
Message-ID: <20200916125956.GA48267@L-31X9LVDL-1304.local> (raw)
In-Reply-To: <1599823111-51431-1-git-send-email-tiantao6@hisilicon.com>
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@hisilicon.com>
>---
> 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
next prev parent reply other threads:[~2020-09-16 13:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-11 11:18 Tian Tao
2020-09-16 12:59 ` Wei Yang [this message]
2020-09-16 13:05 ` tiantao (H)
2020-09-16 13:13 ` Wei Yang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200916125956.GA48267@L-31X9LVDL-1304.local \
--to=richard.weiyang@linux.alibaba.com \
--cc=akpm@linux-foundation.org \
--cc=christian@brauner.io \
--cc=linux-mm@kvack.org \
--cc=linuxarm@huawei.com \
--cc=tiantao6@hisilicon.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox