OpenCloudOS-Kernel/drivers/staging/rtl8188eu
Larry Finger e40c6d0f87 staging: rtl8188eu: Remove some 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-6-Larry.Finger@lwfinger.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-10 10:32:38 -08:00
..
core staging: rtl8188eu: remove else after break or return 2020-01-22 09:44:44 +01:00
hal staging: rtl8188eu: remove else after break or return 2020-01-22 09:44:44 +01:00
include staging: rtl8188eu: remove unused enum and defines 2020-01-22 09:44:44 +01:00
os_dep staging: rtl8188eu: Remove some unneeded goto statements 2020-02-10 10:32:38 -08:00
Kconfig staging: rtl8188eu: use help instead of ---help--- in Kconfig 2019-05-20 10:49:07 +02:00
Makefile staging: rtl8188eu: rename odm_HWConfig 2018-10-02 15:20:40 -07:00
TODO staging: rtl8188eu: Fix spelling mistake 2018-08-27 19:29:39 +02:00