summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorNikolay Kulikov <nikolayof23@gmail.com>2026-03-23 18:06:03 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-03-31 10:31:17 +0200
commitc4587d059ee74b2c216a49451ca47b39fe2789f6 (patch)
tree657fb83673f169b126aa8919beedf975970e6947 /tools/perf/scripts/python/bin/stackcollapse-report
parent8c964b82a4e97ec7f25e17b803ee196009b38a57 (diff)
staging: rtl8723bs: replace deeply nested if-else with switch-case
The main logic of the validate_recv_mgnt_frame() function is deeply nested due to multiple if-else statements and additional block scope. Fix this by replacing identical if-else with switch-case statements, which will improve code readability and correct checkpatch.pl warnings about line lengths. Signed-off-by: Nikolay Kulikov <nikolayof23@gmail.com> Link: https://patch.msgid.link/20260323150650.7168-2-nikolayof23@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions