diff options
| author | Rebecca Mckeever <[email protected]> | 2022-04-07 20:12:50 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-04-08 15:43:35 +0200 |
| commit | 49ce1b1fbca89e8c4b1cbbd7064b26f7b9d1a365 (patch) | |
| tree | 3f55508114013f390cb36f14e84a423dbd80c34b /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | bc4f661a45205ccd60bae2641b1be2333621c90c (diff) | |
staging: rtl8192u: replace ternary statement with if and assignment
Replace ternary statement with an if statement followed by an assignment
to increase readability and make error handling more obvious.
Found with minmax coccinelle script.
Reviewed-by: Dan Carpenter <[email protected]>
Signed-off-by: Rebecca Mckeever <[email protected]>
Link: https://lore.kernel.org/r/36059ec66a2f3d58a8e339aa4f262772eabd3ef0.1649378587.git.remckee0@gmail.com
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions