[PATCH] mm: includecheck fix slqb

From: Jaswinder Singh Rajput
Date: Sat Nov 21 2009 - 12:46:27 EST



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.

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@xxxxxxxxx>
Cc: Nick Piggin <npiggin@xxxxxxx>
Cc: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---
include/linux/slqb_def.h | 1 -
mm/slqb.c | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/include/linux/slqb_def.h b/include/linux/slqb_def.h
index 1243dda..1cb68cc 100644
--- a/include/linux/slqb_def.h
+++ b/include/linux/slqb_def.h
@@ -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 */

diff --git a/mm/slqb.c b/mm/slqb.c
index e4bb53f..e84a588 100644
--- a/mm/slqb.c
+++ b/mm/slqb.c
@@ -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)
{
--
1.6.0.6



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/