diff options
author | Avraham Stern <avraham.stern@intel.com> | 2022-11-02 16:59:56 +0200 |
---|---|---|
committer | Gregory Greenman <gregory.greenman@intel.com> | 2022-11-10 13:27:04 +0200 |
commit | 6564f3b8621e380114732644be4c65064361eb6f (patch) | |
tree | 0c67286d81d1337eaf2b59cb8edc62b5c780868c /drivers/net/wireless/intel/iwlegacy/commands.h | |
parent | 733eb54f62c6f07938c83cac6ef69afc28ca7e6c (diff) | |
download | linux-6564f3b8621e380114732644be4c65064361eb6f.tar.bz2 |
wifi: iwlwifi: mei: use wait_event_timeout() return value
wait_event_timeout() return value indicates whether the condition
evaluated to true or not, so no need to re-take the lock and
check the got_ownership flag.
Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20221102165239.33159054626f.Ief9e2dc42f96f8044c197d32172003a5ead0f8d3@changeid
Diffstat (limited to 'drivers/net/wireless/intel/iwlegacy/commands.h')
0 files changed, 0 insertions, 0 deletions