diff options
| author | Nikolay Kulikov <nikolayof23@gmail.com> | 2026-03-23 18:06:03 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-03-31 10:31:17 +0200 |
| commit | c4587d059ee74b2c216a49451ca47b39fe2789f6 (patch) | |
| tree | 657fb83673f169b126aa8919beedf975970e6947 /tools/perf/scripts/python/flamegraph.py | |
| parent | 8c964b82a4e97ec7f25e17b803ee196009b38a57 (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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
