aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2024-04-30 13:41:35 +0200
committerMark Brown <[email protected]>2024-04-30 23:57:28 +0900
commiteaeac043ab842d2e84616ff0412eec0121c1758c (patch)
treef28c42bb322dc4efaa26d22887d9241c24306965 /tools/perf/scripts/python/export-to-sqlite.py
parenteef51e99f7b9ecc903a3a9ad9e7ca84dc35c3f52 (diff)
spi: imx: use 'time_left' variable with wait_for_completion_timeout()
There is a confusing pattern in the kernel to use a variable named 'timeout' to store the result of wait_for_completion_timeout() causing patterns like: timeout = wait_for_completion_timeout(...) if (!timeout) return -ETIMEDOUT; with all kinds of permutations. Use 'time_left' as a variable to make the code self explaining. Signed-off-by: Wolfram Sang <[email protected]> Reviewed-by: Peng Fan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions