diff options
| author | Michael Straube <straube.linux@gmail.com> | 2022-03-29 22:21:39 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-04 07:33:47 +0200 |
| commit | a90b92ede242d07801c238bcfe4a28382a8219cb (patch) | |
| tree | a3c2b2e6cd743f24fa314b094ad4f357ef34996a /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 2ac32870ebf824ff493bd1f2aaf522141fc2e150 (diff) | |
| download | linux-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/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
