summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorElise Lennion <elise.lennion@gmail.com>2016-10-26 05:03:43 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-27 16:19:37 +0300
commit57499d136e351ccd8143d02c6a1f6261b1775a69 (patch)
treee4274e73090aa4f46f4e0c11fff8364c0335cd17 /scripts/cleanpatch
parentcf9caf1929882b66922aee698e99e6c8f357bee5 (diff)
downloadlinux-57499d136e351ccd8143d02c6a1f6261b1775a69.tar.xz
staging: sm750fb: Refine the code and remove unused code.
Every call to the function waitNextVerticalSync() used the macro primaryWaitVerticalSync(), so the macro was removed and the function waitNextVerticalSync() renamed to primary_wait_vertical_sync(). With this change, an unnecessary 'if' statement was removed together with the lines within the 'else' statement, because it was never satisfied. The modified function was refined to better match the Kernel coding style. Signed-off-by: Elise Lennion <elise.lennion@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions