Skip to contentSkip to conversation

mm: includecheck fix slqb

PATCH New Jaswinder Singh Rajput 1 participant 1 message Nov 21, 2009 Memory management

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mm: includecheck fix slqb

fix the following 'make includecheck' warnings:

include/linux/slqb_def.h: linux/kobject.h is included more than once. mm/slqb.c: linux/seq_file.h is included more than once.

Cc Nick Piggin <[email protected]>
Cc Pekka Enberg <[email protected]>
Cc Andrew Morton <[email protected]>
---
 include/linux/slqb_def.h |    1 -
 mm/slqb.c                |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
include/linux/slqb_def.h +0 -1
index 1243dda..1cb68cc 100644
@@ -13,7 +13,6 @@
 #include <linux/rcu_types.h>
 #include <linux/mm_types.h>
 #include <linux/kernel.h>
-#include <linux/kobject.h>
 
 #define SLAB_NUMA		0x00000001UL    /* shortcut */
 
mm/slqb.c +0 -1
index e4bb53f..e84a588 100644
@@ -3302,7 +3302,6 @@ static void gather_stats(struct kmem_cache *s, struct stats_gather *stats)
  */
 #ifdef CONFIG_SLABINFO
 #include <linux/proc_fs.h>
-#include <linux/seq_file.h>
 ssize_t slabinfo_write(struct file *file, const char __user * buffer,
 		       size_t count, loff_t *ppos)
 {
Signature · 1 line
1.6.0.6