netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 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

only message in thread, other threads:[~2010-03-07 23:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20100306111138.GH4958@bicker>
2010-03-07 23:28 ` [patch] ems_usb: cleanup: remove uneeded check David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).