lkml.org 
[lkml]   [2010]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSat, 30 Oct 2010 15:07:46 +0200 (CEST)
FromJesper Juhl <>
Subject[PATCH] libertas - remove duplicate header inclusions from cfg
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



\
 
 \ /
  Last update: 2010-10-30 15:21    [from the cache]
©2003-2010