staging: wilc1000: remove goto from linux_wlan_firmware_download
authorLeo Kim <leo.kim@atmel.com>
Thu, 5 Nov 2015 05:36:31 +0000 (14:36 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
commit14b1821dd2ee72ac5ce360c8a420f4e87b0e923a
treef4c7438966dc572d2647855d09218c28c1efe273
parent0aeea1ad2ab342153019b676a2d3cbbb45669c79
staging: wilc1000: remove goto from linux_wlan_firmware_download

This patch remove goto feature from linux_wlan_firmware_download function.
Goto feature is return result.
So, remove goto functions and it was replaced with the return value directly.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c