aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristian Lütke-Stetzkamp <[email protected]>2018-04-24 20:01:23 +0200
committerGreg Kroah-Hartman <[email protected]>2018-04-25 15:36:19 +0200
commit05e41c96a6deab303f8cf652a5ade253f6f1a2ca (patch)
treeab0b078b33dcf07cd53bb0f1bce5950ba6145255 /tools/perf/scripts/python
parentafcc0ca1c854e8fbed59ec61b2535962a1af6571 (diff)
staging: mt7621-mmc: Remove multiple assignments
Fix checkpatch: multiple assignments should be avoided, to improve readability. It aslo moves the second assignment out of the if/else block, that is valid, because drv_mode is of type msdc_mode, an enum with only those three elements, so one of the if/ else if statements is always taken. And the second assignment can happen after the conditions. Signed-off-by: Christian Lütke-Stetzkamp <[email protected]> Reviewed-by: NeilBrown <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions