OpenCloudOS-Kernel/drivers/staging/rtl8723bs
Larry Finger 9a4556bd8f staging: rtl8723bs: Remove unneeded goto statements
In routines rtw_hostapd_ioctl() and wpa_supplicant_ioctl(), several
error conditions involve setting a variable indicating the error,
followed by a goto. The code following the target of that goto merely
returns the value. It is simpler, therefore to return the error value
immediately, and eliminate the got  target.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Pietro Oliva <pietroliva@gmail.com>
Link: https://lore.kernel.org/r/20200210180235.21691-7-Larry.Finger@lwfinger.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-10 10:32:38 -08:00
..
core staging: rtl8723bs: Fix line length 2019-12-10 15:57:27 +01:00
hal staging: rtl8723bs: fix copy of overlapping memory 2020-02-10 08:49:11 -08:00
include staging: rtl8723bs: Remove File operation APIs 2019-10-10 10:51:20 +02:00
os_dep staging: rtl8723bs: Remove unneeded goto statements 2020-02-10 10:32:38 -08:00
Kconfig staging: rtl8723bs: use help instead of ---help--- in Kconfig 2019-05-20 10:49:08 +02:00
Makefile staging: rtl8723bs: Remove debugging information exposed via procfs 2019-08-14 13:20:12 +02:00
TODO staging: rtl8723bs: Remove myself from CC: 2019-06-20 14:32:07 +02:00