aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTobin C. Harding <[email protected]>2017-02-27 14:14:44 +1100
committerGreg Kroah-Hartman <[email protected]>2017-03-06 09:17:05 +0100
commitd5f1db31fb03072a11d8e5bb1e81c9b3982195b7 (patch)
tree5f99fbef7a252ea5cc035fb0bbfc3fd1a92d4ffc /tools/perf/scripts/python
parent6d642eaa957d86d1b42e7d958f8fe7aa978ac840 (diff)
staging: ks7010: invert conditional, reduce indent
Function _ks_wlan_hw_power_save has 5 levels of indentation. Reducing the amount of indentation may make code clearer to read. Also a number of other checkpatch warnings may be removed if we first reduce the level of indentation in this function. Invert conditional and return from function if new conditional evaluates to true. Repeat on subsequent conditional. Reduce indentation without changing 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')
0 files changed, 0 insertions, 0 deletions