summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2022-03-29 22:21:39 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-04 07:33:47 +0200
commita90b92ede242d07801c238bcfe4a28382a8219cb (patch)
treea3c2b2e6cd743f24fa314b094ad4f357ef34996a /tools/perf/scripts/python
parent2ac32870ebf824ff493bd1f2aaf522141fc2e150 (diff)
downloadlinux-a90b92ede242d07801c238bcfe4a28382a8219cb.tar.gz
linux-a90b92ede242d07801c238bcfe4a28382a8219cb.zip
staging: r8188eu: simplify if-else statement
Simplify a nested if-else statement to a single if-else statement in rtw_set_threshold(). This improves readability and allows us to remove the local variable threshold. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20220329202141.7028-7-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions