diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-06-03 11:15:38 +0200 |
---|---|---|
committer | Ping-Ke Shih <pkshih@realtek.com> | 2024-06-17 10:01:13 +0800 |
commit | 3d530eeaf8e79770048e35b1b93f8ffb36a8a133 (patch) | |
tree | 8f323c132ddf70e056eb32fe3e86c65a9de06be3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a2ead3445a6317c5d2b53711cf9a98e54c395223 (diff) |
wifi: rtw89: 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>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://msgid.link/20240603091541.8367-6-wsa+renesas@sang-engineering.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions