* Re: [patch] ems_usb: cleanup: remove uneeded check
[not found] <20100306111138.GH4958@bicker>
@ 2010-03-07 23:28 ` David Miller
0 siblings, 0 replies; only message in thread
From: David Miller @ 2010-03-07 23:28 UTC (permalink / raw)
To: error27
Cc: urs.thuermann, oliver.hartkopp, wg, haas, kurt.van.dijck, netdev,
kernel-janitors
From: Dan Carpenter <error27@gmail.com>
Date: Sat, 6 Mar 2010 14:11:38 +0300
> "skb" is alway non-null here, but even if it were null the check isn't
> needed because dev_kfree_skb() can handle it.
>
> This eliminates a smatch warning about dereferencing a variable before
> checking that it is non-null.
>
> Signed-off-by: Dan Carpenter <error27@gmail.com>
Applied.
^ permalink raw reply [flat|nested] only message in thread