All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libertas - remove duplicate header inclusions from cfg
@ 2010-10-30 13:07 Jesper Juhl
  2010-11-02  2:29 ` Dan Williams
  0 siblings, 1 reply; 2+ messages in thread
From: Jesper Juhl @ 2010-10-30 13:07 UTC (permalink / raw)
  To: Dan Williams; +Cc: libertas-dev, linux-kernel, Holger Schurig

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


-- 
Jesper Juhl <jj@chaosbits.net>             http://www.chaosbits.net/
Plain text mails only, please      http://www.expita.com/nomime.html
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] libertas - remove duplicate header inclusions from cfg
  2010-10-30 13:07 [PATCH] libertas - remove duplicate header inclusions from cfg Jesper Juhl
@ 2010-11-02  2:29 ` Dan Williams
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Williams @ 2010-11-02  2:29 UTC (permalink / raw)
  To: Jesper Juhl; +Cc: libertas-dev, linux-kernel, Holger Schurig

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-02  2:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-30 13:07 [PATCH] libertas - remove duplicate header inclusions from cfg Jesper Juhl
2010-11-02  2:29 ` Dan Williams

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.