* [PATCH] rbtree.h: remove unneeded include of kernel.h
@ 2012-07-04 7:15 Wang YanQing
0 siblings, 0 replies; only message in thread
From: Wang YanQing @ 2012-07-04 7:15 UTC (permalink / raw)
To: linux-kernel; +Cc: gregkh, paul.gortmaker
It seems that we should remove the unneeded include of kernel.h
from rbtree.h, any user of rbtree need kernel.h should include it
separately.
Signed-off-by: Wang YanQing <udknight@gmail.com>
---
include/linux/rbtree.h | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/include/linux/rbtree.h b/include/linux/rbtree.h
index 033b507..3cae05e 100644
--- a/include/linux/rbtree.h
+++ b/include/linux/rbtree.h
@@ -94,7 +94,6 @@ static inline struct page * rb_insert_page_cache(struct inode * inode,
#ifndef _LINUX_RBTREE_H
#define _LINUX_RBTREE_H
-#include <linux/kernel.h>
#include <linux/stddef.h>
struct rb_node
--
1.7.3.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-07-04 7:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-04 7:15 [PATCH] rbtree.h: remove unneeded include of kernel.h Wang YanQing
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox