Skip to contentSkip to conversation

remove unnecessary headers from mm/page_alloc.c

PATCH William Lee Irwin III 1 participant 1 message Jun 15, 2002

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

page_alloc.c does not use either slab.h or swapctl.h. This removes the inclusion of those headers from page_alloc.c

Cheers,
Bill

===== mm/page_alloc.c 1.67 vs edited =====

mm/page_alloc.c +0 -2
@@ -15,11 +15,9 @@
 #include <linux/config.h>
 #include <linux/mm.h>
 #include <linux/swap.h>
-#include <linux/swapctl.h>
 #include <linux/interrupt.h>
 #include <linux/pagemap.h>
 #include <linux/bootmem.h>
-#include <linux/slab.h>
 #include <linux/compiler.h>
 #include <linux/module.h>
 #include <linux/suspend.h>