Skip to contentSkip to conversation

rbtree.h: remove unneeded include of kernel.h

PATCH New Wang YanQing 1 participant 1 message Jul 4, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rbtree.h: remove unneeded include of kernel.h

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.

---
 include/linux/rbtree.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
include/linux/rbtree.h +0 -1
index 033b507..3cae05e 100644
@@ -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
Signature · 1 line
1.7.3.4