Skip to contentSkip to conversation

mm: Removing duplicit #includes

PATCH In review Jiri Olsa 1 participant 2 messages Nov 7, 2007

Subsystems (2)
lore
Share & tools
lore

Jiri Olsa

author
#0 lore raw

PATCH 1/1 mm: Removing duplicit #includes

Removing duplicit #includes for mm/

---
+++ b/mm/filemap.c
@@ -28,7 +28,6 @@
#include <linux/backing-dev.h>
#include <linux/pagevec.h>
#include <linux/blkdev.h>
-#include <linux/backing-dev.h>
#include <linux/security.h>
#include <linux/syscalls.h>
#include <linux/cpuset.h>

mm/swapfile.c +0 -0
index f071648..83da158 100644
@@ -1153,7 +1153,6 @@ out:

}

#if 0 /* We don't need this yet */
-#include <linux/backing-dev.h>
int page_queue_congested(struct page *page)

{
       struct backing_dev_info *bdi;

--
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>

author
#1 lore raw

sorry, the patch is mangled, I will resend another

Quoted 18 lines · Jiri Olsa

Removing duplicit #includes for mm/

---
+++ b/mm/filemap.c

(quoted diff) +0 -1
@@ -28,7 +28,6 @@
 #include <linux/backing-dev.h>
 #include <linux/pagevec.h>
 #include <linux/blkdev.h>
-#include <linux/backing-dev.h>
 #include <linux/security.h>
 #include <linux/syscalls.h>
 #include <linux/cpuset.h>
mm/swapfile.c +0 -0
index f071648..83da158 100644

mm/swapfile.c out: · line 1158

Quoted 7 lines
mm/swapfile.c +0 -1
@@ -1153,7 +1153,6 @@ out:
 }
 
 #if 0  /* We don't need this yet */
-#include <linux/backing-dev.h>
 int page_queue_congested(struct page *page)
 {
       struct backing_dev_info *bdi;

--
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>