aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorTobin C. Harding <[email protected]>2017-02-27 14:14:47 +1100
committerGreg Kroah-Hartman <[email protected]>2017-03-06 09:17:05 +0100
commit3188bc092655a0ef032eda9d5a251323b3008d40 (patch)
treec8cca2e022fc4667f8c148684f4fcb6025eb59aa /tools/perf/scripts/python/syscall-counts.py
parentcf57e659d5be6459e642dd451268bdb3437af7ff (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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions