summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorElise Lennion <elise.lennion@gmail.com>2016-10-27 22:22:28 -0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-30 11:13:11 -0400
commitcefc2fc61e1f5c80c6240634da01a4b846e9a6db (patch)
tree0caf7329dfa5646bdda9f7896496672f65fedbb7 /tools/perf/scripts/python
parent1fda5b7566561c8e1fc6fd572cbdc7ec32051b16 (diff)
downloadlinux-cefc2fc61e1f5c80c6240634da01a4b846e9a6db.tar.gz
linux-cefc2fc61e1f5c80c6240634da01a4b846e9a6db.zip
staging: sm750fb: Refine code in set_current_gate().
The 'switch' statement in set_current_gate() had only two possible scenarios, so it was replaced with an 'if' statement to make the code shorter and easier to understand. Signed-off-by: Elise Lennion <elise.lennion@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions