[PATCH] ath10k: Delete unnecessary checks before the function call "release_firmware"

Kalle Valo kvalo at qca.qualcomm.com
Wed Mar 4 04:06:21 PST 2015


SF Markus Elfring <elfring at users.sourceforge.net> writes:

> From: Markus Elfring <elfring at users.sourceforge.net>
> Date: Wed, 4 Feb 2015 19:30: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 at users.sourceforge.net>

Thanks, applied to ath.git.

-- 
Kalle Valo



More information about the ath10k mailing list