cw1200: Delete an unnecessary check before the function call "release_firmware"
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 4 Feb 2015 15:32:15 +0000 (16:32 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 6 Feb 2015 06:47:40 +0000 (08:47 +0200)
commitdf970d39b90e0c316c62a9db6d796edef2a31526
tree1dcda2267593bff8e7fd9d0867bd1fd19a8e8694
parentc1f1f6663b3c749dd9eba9eaeb178859080104e2
cw1200: Delete an unnecessary check before the function call "release_firmware"

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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/cw1200/fwio.c