aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-02-21 18:26:22 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2021-02-24 15:12:06 +0900
commita4cff327d8533bde5bac147aaa8b09e8d835cab2 (patch)
tree9889be35939b00f0b9063ae5c88148323911a9b1 /tools/perf/scripts/python/netdev-times.py
parentf82bd80d37ecc6ebda389473bd8414e89bbdbe05 (diff)
kconfig: clean up nested if-conditionals in check_conf()
Unify the outer two if-conditionals into one. This decreases the indent level by one. Also, change the if-else blocks: if (input_mode == listnewconfig) { ... } else if (input_mode == helpnewconfig) { ... } else { ... } into the switch statement. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions