linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Yang Li <yang.lee@linux.alibaba.com>
To: akpm@linux-foundation.org, Liam.Howlett@oracle.com,
	vbabka@suse.cz, lorenzo.stoakes@oracle.com
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
	Yang Li <yang.lee@linux.alibaba.com>,
	Abaci Robot <abaci@linux.alibaba.com>
Subject: [PATCH -next] mm: Remove duplicated include in vma_internal.h
Date: Fri,  2 Aug 2024 14:02:16 +0800	[thread overview]
Message-ID: <20240802060216.24591-1-yang.lee@linux.alibaba.com> (raw)

The header files linux/bug.h is included twice in vma_internal.h,
so one inclusion of each can be removed.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9636
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 mm/vma_internal.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/mm/vma_internal.h b/mm/vma_internal.h
index 14c24d5cb582..b930ab12a587 100644
--- a/mm/vma_internal.h
+++ b/mm/vma_internal.h
@@ -12,7 +12,6 @@
 #include <linux/backing-dev.h>
 #include <linux/bitops.h>
 #include <linux/bug.h>
-#include <linux/bug.h>
 #include <linux/cacheflush.h>
 #include <linux/err.h>
 #include <linux/file.h>
-- 
2.32.0.3.g01195cf9f



             reply	other threads:[~2024-08-02  6:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-02  6:02 Yang Li [this message]
2024-08-02  6:33 ` Lorenzo Stoakes

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=20240802060216.24591-1-yang.lee@linux.alibaba.com \
    --to=yang.lee@linux.alibaba.com \
    --cc=Liam.Howlett@oracle.com \
    --cc=abaci@linux.alibaba.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lorenzo.stoakes@oracle.com \
    --cc=vbabka@suse.cz \
    /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