Skip to contentSkip to conversation

mm: Remove duplicated include in vma_internal.h

PATCH Applied Yang Li 2 participants 2 messages Aug 2, 2024

Subsystems (2)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 mm: Remove duplicated include in vma_internal.h

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

---
 mm/vma_internal.h | 1 -
 1 file changed, 1 deletion(-)
mm/vma_internal.h +0 -1
index 14c24d5cb582..b930ab12a587 100644
@@ -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>
Signature · 1 line
2.32.0.3.g01195cf9f
Reviewed-by on v1 1/1
#1 lore raw
Quoted 23 lines · Yang Li

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

---
 mm/vma_internal.h | 1 -
 1 file changed, 1 deletion(-)
mm/vma_internal.h +0 -2
index 14c24d5cb582..b930ab12a587 100644
@@ -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>
--
Quoted 2 lines

2.32.0.3.g01195cf9f

Well that's embarrassing, oops :) let's take this in the -mm tree and pretend it never happened ;)