aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/export-to-postgresql-record
diff options
context:
space:
mode:
authorTobin C. Harding <me@tobin.cc>2017-02-27 14:14:47 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-06 09:17:05 +0100
commit3188bc092655a0ef032eda9d5a251323b3008d40 (patch)
treec8cca2e022fc4667f8c148684f4fcb6025eb59aa /tools/perf/scripts/python/bin/export-to-postgresql-record
parentstaging: ks7010: move logic operator to end of line (diff)
staging: ks7010: remove switch statement
Switch statement uses one [trivial] case and a default case holding bulk of code. We can swap the switch statement with an if/return statement as replacement for the original switch. This can be done without changing the program logic. Remove switch statement. Use original switch parameter as conditional and return if conditional evaluates to true. Reduce level of indentation. Do not change the program logic. Signed-off-by: Tobin C. Harding <me@tobin.cc> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-record')
0 files changed, 0 insertions, 0 deletions