summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2023-06-19 17:09:51 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-06-20 16:14:32 +0200
commit18b89d19238242147c3d00134329bb39b4ed33d1 (patch)
tree8827924e922f92ed235c6cc068d817ab49de967e /tools/perf/scripts/python/exported-sql-viewer.py
parent56424246bbdcc358c3de3906a2a45fa37a559bb0 (diff)
staging: rtl8192e: convert else if sequence to switch
Convert a sequence of else if statements that all check the same variable to a single switch statement. With a switch statement it is easier to see what is going on. Additionally this clears a checkpatch warning. WARNING: braces {} are not necessary for any arm of this statement Signed-off-by: Michael Straube <straube.linux@gmail.com> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/20230619150953.22484-3-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions