Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: [PATCH] libertas - remove duplicate header inclusions from cfg | From | Dan Williams <> | Date | Mon, 01 Nov 2010 21:29:12 -0500 |
| |
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> > >
| ![\](/images/icornerr.gif) |