aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorLarry Finger <[email protected]>2020-02-10 12:02:35 -0600
committerGreg Kroah-Hartman <[email protected]>2020-02-10 10:32:38 -0800
commit9a4556bd8f23209c29f152e6a930b6a893b0fc81 (patch)
treea4c5dd77d79dc4275fe5b90e181f75828cab5b22 /tools/perf/util/trace-event-scripting.c
parente40c6d0f8763fe67585227d4afc97171db861b3b (diff)
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 <[email protected]> Cc: Pietro Oliva <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions