diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-06-03 11:15:36 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2024-06-12 15:01:08 +0300 |
commit | 0c0668813cc0bb919b2b693c411e1d7d0dfdf39b (patch) | |
tree | 2cbdfc7239860eaa8f33af0200f4d86a9603cc46 /tools/perf/scripts/python/gecko.py | |
parent | 158d5a1b3caaaeafc838a28a78dc17ceba468fb6 (diff) |
wifi: mwl8k: 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: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240603091541.8367-4-wsa+renesas@sang-engineering.com
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions