summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorRebecca Mckeever <remckee0@gmail.com>2022-04-07 20:12:50 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-08 15:43:35 +0200
commit49ce1b1fbca89e8c4b1cbbd7064b26f7b9d1a365 (patch)
tree3f55508114013f390cb36f14e84a423dbd80c34b /tools/perf/scripts/python/flamegraph.py
parentbc4f661a45205ccd60bae2641b1be2333621c90c (diff)
downloadlinux-49ce1b1fbca89e8c4b1cbbd7064b26f7b9d1a365.tar.gz
linux-49ce1b1fbca89e8c4b1cbbd7064b26f7b9d1a365.zip
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 <dan.carpenter@oracle.com> Signed-off-by: Rebecca Mckeever <remckee0@gmail.com> Link: https://lore.kernel.org/r/36059ec66a2f3d58a8e339aa4f262772eabd3ef0.1649378587.git.remckee0@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