summaryrefslogtreecommitdiff
path: root/include/linux/flex_array.h
diff options
context:
space:
mode:
authorElise Lennion <elise.lennion@gmail.com>2016-10-28 03:22:28 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-30 18:13:11 +0300
commitcefc2fc61e1f5c80c6240634da01a4b846e9a6db (patch)
tree0caf7329dfa5646bdda9f7896496672f65fedbb7 /include/linux/flex_array.h
parent1fda5b7566561c8e1fc6fd572cbdc7ec32051b16 (diff)
downloadlinux-cefc2fc61e1f5c80c6240634da01a4b846e9a6db.tar.xz
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 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions