linux-stable/drivers/staging/vt6656
Oscar Carter d78b62c3ea staging: vt6656: Use return instead of goto
Replace the "goto" statements with a direct "return ret" as the jump
label only returns the ret variable.

Also, remove the unnecessary variable initialization because the ret
variable is set a few lines later.

Signed-off-by: Oscar Carter <oscar.carter@gmx.com>
Link: https://lore.kernel.org/r/20200425151747.8199-3-oscar.carter@gmx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-28 14:26:29 +02:00
..
baseband.c staging: vt6656: Check the return value of vnt_control_out_* calls 2020-04-28 14:16:49 +02:00
baseband.h staging: vt6656: Check the return value of vnt_control_out_* calls 2020-04-28 14:16:49 +02:00
card.c staging: vt6656: Remove functions' documentation 2020-04-28 14:16:50 +02:00
card.h staging: vt6656: Check the return value of vnt_control_out_* calls 2020-04-28 14:16:49 +02:00
channel.c staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
channel.h staging: vt6656: Fix styling of the comment related to SPDX-License-Identifier 2019-04-02 09:29:27 +02:00
desc.h staging: vt6656: Use BIT() macro instead of hex value 2020-03-21 10:58:16 +01:00
device.h staging: vt6656: Move firmware functions into main_usb. 2020-04-23 13:31:59 +02:00
Kconfig staging: vt665*: use help instead of ---help--- in Kconfig 2019-05-20 10:49:08 +02:00
key.c staging: vt6656: Fix pairwise key entry save. 2020-04-23 13:44:32 +02:00
key.h staging: vt6656: Fix styling of the comment related to SPDX-License-Identifier 2019-04-02 09:29:27 +02:00
mac.c staging: vt6656: Remove functions' documentation 2020-04-28 14:16:50 +02:00
mac.h staging: vt6656: Check the return value of vnt_control_out_* calls 2020-04-28 14:16:49 +02:00
main_usb.c staging: vt6656: Remove set short time in vnt_init_registers. 2020-04-28 14:25:26 +02:00
Makefile staging: vt6656: Move firmware functions into main_usb. 2020-04-23 13:31:59 +02:00
power.c staging: vt6656: Remove functions' documentation 2020-04-28 14:16:50 +02:00
power.h staging: vt6656: Check the return value of vnt_control_out_* calls 2020-04-28 14:16:49 +02:00
rf.c staging: vt6656: Use return instead of goto 2020-04-28 14:26:29 +02:00
rf.h staging: vt6556: vnt_rf_setpower convert to use ieee80211_channel. 2020-04-13 14:53:21 +02:00
rxtx.c staging: vt6656: Remove preamble_type setting from vnt_tx_packet. 2020-04-28 14:25:26 +02:00
rxtx.h staging: vt6656: Move vnt_get_frame_time and vnt_get_phy_field to rxtx 2020-04-23 13:33:36 +02:00
TODO
usbpipe.c staging: vt6656: Power save stop wake_up_count wrap around. 2020-04-16 13:45:15 +02:00
usbpipe.h staging: vt6656: Delete int.c/h file and move functions to usbpipe 2020-03-04 07:52:32 +01:00
wcmd.c staging: vt6556: vnt_rf_setpower convert to use ieee80211_channel. 2020-04-13 14:53:21 +02:00
wcmd.h staging: vt6656: Fix styling of the comment related to SPDX-License-Identifier 2019-04-02 09:29:27 +02:00