From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Date: Fri, 06 Feb 2015 06:51:07 +0000 Subject: Re: orinoco: Delete an unnecessary check before the function call "kfree" Message-Id: <20150206065107.6C81D140CDD@smtp.codeaurora.org> List-Id: In-Reply-To: <54D26B73.1050804@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: SF Markus Elfring Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, LKML , kernel-janitors@vger.kernel.org, Julia Lawall > From: Markus Elfring > Date: Wed, 4 Feb 2015 19:53:11 +0100 > > The kfree() function tests whether its argument is NULL and then > returns immediately. Thus the test around the call is not needed. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring Thanks, applied to wireless-drivers-next.git. Kalle Valo