aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSergio Paracuellos <[email protected]>2018-04-23 15:44:47 +0200
committerGreg Kroah-Hartman <[email protected]>2018-04-25 15:47:23 +0200
commit06176b874a2e25343ffe4ed83c3c4d6290e97cf0 (patch)
tree9f0c5ab609ae2f046bd20dedb140f6fa517606d3 /tools/perf/scripts/python
parenta7360b184b47077ff60293d6b211c637e016ff75 (diff)
staging: ks7010: assign dev_alloc_name() result to variable before check it
This commit assigns dev_alloc_name() call to 'ret' variable to check it after instead of check directly the call in the if condition. This improves a bit readability. It also add an empty line before the new assignment to separate it from the previous check statement block. Signed-off-by: Sergio Paracuellos <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions