aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPhillip Potter <[email protected]>2022-11-03 23:06:32 +0000
committerGreg Kroah-Hartman <[email protected]>2022-11-08 16:26:34 +0100
commitdcb18f5140ab7b4ea23417598c601b9468141d99 (patch)
tree347f40c0f56be5d9614f1b236871e84fe9131a6f /tools/perf/scripts/python
parent1d6290639bfce477f71392392436d2aa830bca2e (diff)
staging: r8188eu: change return type of rtw_set_802_11_disassociate to void
Change return type of rtw_set_802_11_disassociate to void. This function always returns 'true' no matter what, so there is no need to return a value, and no need to check for it in the two call sites within rtw_wx_set_mlme. Also, as we are no longer using ret in rtw_wx_set_mlme except as the return value, just remove it and return 0 directly. Suggested-by: Michael Straube <[email protected]> Signed-off-by: Phillip Potter <[email protected]> Tested-by: Philipp Hortmann <[email protected]> # Edimax N150 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions