Re: [PATCH] libertas - remove duplicate header inclusions from cfg

From: Dan Williams
Date: Mon Nov 01 2010 - 22:36:51 EST


On Sat, 2010-10-30 at 15:07 +0200, Jesper Juhl wrote:
> Hi,
>
> drivers/net/wireless/libertas/cfg.c manages to include both
> 'linux/wait.h' and 'linux/sched.h' twice. Once is enough for both headers.
>
> Signed-off-by: Jesper Juhl <jj@xxxxxxxxxxxxx>

Acked-by: Dan Williams <dcbw@xxxxxxxxxx>

> ---
> cfg.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/net/wireless/libertas/cfg.c b/drivers/net/wireless/libertas/cfg.c
> index 5046a00..73b2bee 100644
> --- a/drivers/net/wireless/libertas/cfg.c
> +++ b/drivers/net/wireless/libertas/cfg.c
> @@ -9,8 +9,6 @@
> #include <linux/sched.h>
> #include <linux/wait.h>
> #include <linux/slab.h>
> -#include <linux/sched.h>
> -#include <linux/wait.h>
> #include <linux/ieee80211.h>
> #include <net/cfg80211.h>
> #include <asm/unaligned.h>
>
>


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