aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorAnton Wuerfel <[email protected]>2016-01-14 16:08:22 +0100
committerGreg Kroah-Hartman <[email protected]>2016-02-06 23:15:53 -0800
commit829b0000242e3d2729972a034209afdd2b004456 (patch)
treebc689b64c2f437e965c057084efdb7b202b69538 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent9faef1cb33d4cc17ae4e85de67aa242eebb64102 (diff)
tty: serial: 8250: Merge duplicate conditions
This patch refactors a switch case statement by merging an if condition in the default case into an identical condition right after the switch statement. This comes with a slight change in behaviour: If pci_netmos_9900_numports returns 0, an additional warning is printed. Signed-off-by: Anton Würfel <[email protected]> Signed-off-by: Phillip Raffeck <[email protected]> Suggested-by: Andy Shevchenko <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Cc: [email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions