]> git.karo-electronics.de Git - linux-beck.git/commit
staging: wilc1000: remove goto from linux_wlan_start_firmware
authorLeo Kim <leo.kim@atmel.com>
Thu, 5 Nov 2015 05:36:30 +0000 (14:36 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
commit0aeea1ad2ab342153019b676a2d3cbbb45669c79
tree8d1dcfba66669bfc2c959e395c14d3c5faf65e21
parent1b7a93ad9a5ebdef7968d2bf6c5ebd1db2c3e022
staging: wilc1000: remove goto from linux_wlan_start_firmware

This patch remove goto feature from linux_wlan_start_firmware 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