[PATCH] rbtree.h: remove unneeded include of kernel.h

From: Wang YanQing
Date: Wed Jul 04 2012 - 03:15:16 EST



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@xxxxxxxxx>
---
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

--
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/