aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSergio Paracuellos <[email protected]>2018-04-24 15:49:57 +0200
committerGreg Kroah-Hartman <[email protected]>2018-04-25 15:50:18 +0200
commit1e4c7fb3a54ec2b1be17c7d2d1b53c593f959a1d (patch)
tree677232541fea9aee2aac63b73d1625a27a40f4cc /tools/perf/scripts/python/export-to-postgresql.py
parentb58e1ddaa25fc07ea995f3a0ccb5fcc0820f61f3 (diff)
staging: ks7010: refactor ks_wlan_set_mode function
Most cases which are being handled in the switch-case of ks_wlan_set_mode function are just returning EINVAL. Avoid the use of switch-case stament and just use a simple if to handle those. This decrease LOC as well as improves readability. Signed-off-by: Sergio Paracuellos <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions