diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-08-05 23:51:15 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-08-09 07:56:39 +0200 |
commit | 64979ac2aa7773d3a77c861c8eb4c006f9033eec (patch) | |
tree | af87f5be906bbce3e4ee43bf3fc0b9af29344e19 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0016b5a5c71ef426d88bff2b14096ddf86c4181f (diff) |
media: atmel-isi: 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 <wsa+renesas@sang-engineering.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions