lkml.org 
[lkml]   [2010]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] libertas - remove duplicate header inclusions from cfg
From
Date
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@chaosbits.net>

Acked-by: Dan Williams <dcbw@redhat.com>

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




\
 
 \ /
  Last update: 2010-11-02 03:33    [W:0.018 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site