Re: [2.6 patch] drivers/net/wireless/libertas/wext.c: remove dead code

From: Michael Buesch
Date: Mon Jul 02 2007 - 05:09:09 EST


On Monday 02 July 2007 10:53:54 Johannes Berg wrote:
> On Sun, 2007-07-01 at 22:20 +0200, Adrian Bunk wrote:
> > This patch removes dead code introduced by
> > commit 90a42210f275e1f828eb6c08bf8252c2d6a774e0 and spotted
> > by the Coverity checker.
>
> > --- linux-2.6.22-rc6-mm1/drivers/net/wireless/libertas/wext.c.old 2007-06-29 21:52:56.000000000 +0200
> > +++ linux-2.6.22-rc6-mm1/drivers/net/wireless/libertas/wext.c 2007-06-29 21:53:43.000000000 +0200
> > @@ -1823,85 +1823,82 @@ static int wlan_set_encodeext(struct net
>
> out of curiosity, why so much context?

Because you see why it's dead code in the context and don't have
to lookup the code tree. ;)

--
Greetings Michael.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/