]> git.openpandora.org Git - pandora-kernel.git/commitdiff
cw1200: Less function calls in cw1200_load_firmware_cw1200() after error detection
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 4 Feb 2015 16:28:41 +0000 (17:28 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 6 Feb 2015 06:48:04 +0000 (08:48 +0200)
The functions kfree() and release_firmware() were called in a few cases
by the cw1200_load_firmware_cw1200() function during error handling even if
the passed variables contained still a null pointer.

Corresponding implementation details could be improved by adjustments for
jump targets.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>

No differences found