diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2020-02-10 12:02:34 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-10 10:32:38 -0800 |
commit | e40c6d0f8763fe67585227d4afc97171db861b3b (patch) | |
tree | 6cd00f65d7c6c6a20f3938bbe896e68c93c86a38 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 23954cb078febfc63a755301fe77e06bccdb4d2a (diff) |
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions