[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150306.010356.1391961581224590724.davem@davemloft.net>
Date: Fri, 06 Mar 2015 01:03:56 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: ebiederm@...ssion.com, teg@...m.no, dh.herrmann@...il.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch -next] ax25: remove unneeded NULL test in ax_xmit()
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Thu, 5 Mar 2015 20:48:46 +0300
> We get a static checker warning here on devel kernels:
>
> drivers/net/hamradio/mkiss.c:560 ax_xmit()
> warn: variable dereferenced before check 'skb' (see line 532)
>
> It turns out that the NULL check can be deleted.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied, thanks Dan.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists