2013-05-14 18:27:54

by Nathan Zimmer

[permalink] [raw]
Subject: [PATCH] rbtree: remove unneeded include

Remove an unnecessary include to kernel.h

Signed-off-by: Nathan Zimmer <[email protected]>
---
include/linux/rbtree.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/rbtree.h b/include/linux/rbtree.h
index 0022c1b..d2fdc6d 100644
--- a/include/linux/rbtree.h
+++ b/include/linux/rbtree.h
@@ -29,7 +29,6 @@
#ifndef _LINUX_RBTREE_H
#define _LINUX_RBTREE_H

-#include <linux/kernel.h>
#include <linux/stddef.h>

struct rb_node {
--
1.8.2.1


2013-05-14 18:33:49

by Dan Carpenter

[permalink] [raw]
Subject: Re: [PATCH] rbtree: remove unneeded include

These go through Andrew Morton. He's the only person who reads LKML
so he might notice this patch, but I have added him to the CC list
just in case.

regards,
dan carpenter

On Tue, May 14, 2013 at 01:27:49PM -0500, Nathan Zimmer wrote:
> Remove an unnecessary include to kernel.h
>
> Signed-off-by: Nathan Zimmer <[email protected]>
> ---
> include/linux/rbtree.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/include/linux/rbtree.h b/include/linux/rbtree.h
> index 0022c1b..d2fdc6d 100644
> --- a/include/linux/rbtree.h
> +++ b/include/linux/rbtree.h
> @@ -29,7 +29,6 @@
> #ifndef _LINUX_RBTREE_H
> #define _LINUX_RBTREE_H
>
> -#include <linux/kernel.h>
> #include <linux/stddef.h>
>
> struct rb_node {
> --
> 1.8.2.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html