Skip to contentSkip to conversation

mm: remove duplicate includes

PATCH Applied Pravin Shedge 2 participants 2 messages Dec 6, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 26/45 mm: remove duplicate includes

These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives.

---
 mm/userfaultfd.c | 1 -
 1 file changed, 1 deletion(-)
mm/userfaultfd.c +0 -1
index 8119270..39791b8 100644
@@ -16,7 +16,6 @@
 #include <linux/userfaultfd_k.h>
 #include <linux/mmu_notifier.h>
 #include <linux/hugetlb.h>
-#include <linux/pagemap.h>
 #include <linux/shmem_fs.h>
 #include <asm/tlbflush.h>
 #include "internal.h"
Signature · 7 lines
2.7.4

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
#1 lore raw
Quoted 2 lines · Pravin Shedge

These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives.

I only see this one but I can see this is a series of 45 patches. Is this really the best way to apply a change like this? Why not do it in a single patch?

Other than that the patch looks correct.

Quoted 20 lines
---
 mm/userfaultfd.c | 1 -
 1 file changed, 1 deletion(-)
mm/userfaultfd.c +0 -1
index 8119270..39791b8 100644
@@ -16,7 +16,6 @@
 #include <linux/userfaultfd_k.h>
 #include <linux/mmu_notifier.h>
 #include <linux/hugetlb.h>
-#include <linux/pagemap.h>
 #include <linux/shmem_fs.h>
 #include <asm/tlbflush.h>
 #include "internal.h"
Signature · 1 line
2.7.4
Signature · 8 lines
Michal Hocko
SUSE Labs

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>