aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorElise Lennion <[email protected]>2016-10-26 00:03:43 -0200
committerGreg Kroah-Hartman <[email protected]>2016-10-27 15:19:37 +0200
commit57499d136e351ccd8143d02c6a1f6261b1775a69 (patch)
treee4274e73090aa4f46f4e0c11fff8364c0335cd17 /tools/perf/scripts/python/netdev-times.py
parentcf9caf1929882b66922aee698e99e6c8f357bee5 (diff)
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 <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions