[PATCH] libertas - remove duplicate header inclusions from cfg
Dan Williams
dcbw at redhat.com
Mon Nov 1 22:29:12 EDT 2010
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 at chaosbits.net>
Acked-by: Dan Williams <dcbw at 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>
>
>
More information about the libertas-dev
mailing list