public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mm: includecheck fix slqb
@ 2009-11-21 17:44 Jaswinder Singh Rajput
  0 siblings, 0 replies; only message in thread
From: Jaswinder Singh Rajput @ 2009-11-21 17:44 UTC (permalink / raw)
  To: Andrew Morton, Nick Piggin, Pekka Enberg, LKML


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@gmail.com>
Cc: Nick Piggin <npiggin@suse.de>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Andrew Morton <akpm@linux-foundation.org>
---
 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




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-21 17:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-21 17:44 [PATCH] mm: includecheck fix slqb Jaswinder Singh Rajput

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox