[PATCH] libertas - remove duplicate header inclusions from cfg

Jesper Juhl jj at chaosbits.net
Sat Oct 30 09:07:46 EDT 2010


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

More information about the libertas-dev mailing list