aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorTobin C. Harding <[email protected]>2017-03-14 09:54:09 +1100
committerGreg Kroah-Hartman <[email protected]>2017-03-14 08:08:15 +0800
commitf0a4c596f2f8106d1060bf0cc6ed1e3c2ed3b16d (patch)
tree7008f0a7cbcdba6e7863cde9a3ce55837349a352 /tools/perf/scripts/python/bin
parentf0b7d3a67bce75bc1e5910e30c3890ae01e3be04 (diff)
staging: ks7010: reduce level of indentation
Checkpatch emits WARNING: Too many leading tabs - consider code refactoring. One level of indentation may be removed by inverting an if statement conditional (and returning if new conditional evaluates to true). Code contains switch statement that also contains multiple layers of indentation. Indentation may be reduced by breaking out of the case statement in multiple places instead of guarding code with if/else statements. Invert conditional. Return original error code if new conditional evaluates to true. Break out of case blocks instead of using if/else. Do not modify 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/bin')
0 files changed, 0 insertions, 0 deletions