Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1278162

Re: brcm80211: Delete an unnecessary check before the function call"release_firmware"

From Kalle Valo <kvalo@codeaurora.org>
Newsgroups linux.kernel
Subject Re: brcm80211: Delete an unnecessary check before the function call"release_firmware"
Date 2015-11-26 13:10 +0100
Message-ID <qz3x7-4VN-3@gated-at.bofh.it> (permalink)
References <qrK6e-1Ca-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Fri, 6 Nov 2015 08:48:23 +0100
> 
> The release_firmware() 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 <elfring@users.sourceforge.net>
> Acked-by: Arend van Spriel <arend@broadcom.com>

Thanks, applied to wireless-drivers-next.git.

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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: brcm80211: Delete an unnecessary check before the function  call"release_firmware" Kalle Valo <kvalo@codeaurora.org> - 2015-11-26 13:10 +0100

csiph-web