staging: wilc1000: removes goto definitions from wilc_wlan_firmware_download
authorLeo Kim <leo.kim@atmel.com>
Tue, 15 Mar 2016 09:48:13 +0000 (18:48 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
commit5c6021da1c3c46f3c2727626b4a3b9c96bf688ec
tree9a1f2caf1103386f6399f614c3e4466d55e8b32c
parent90fd4cc5d25d5baf5540c99c100e82ce06af63f0
staging: wilc1000: removes goto definitions from wilc_wlan_firmware_download

This patch removes goto definitions from wilc_wlan_firmware_download function.
Goto '_fail_1' feature is error return.
It returns error type directly without result variable replacement as well.

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