diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-01-30 11:53:04 +0200 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2022-02-18 10:40:52 +0200 |
commit | 1af8552bb929e21c6f5f885128eb22d9616c87a6 (patch) | |
tree | 3508f292f23a7fd4f308645b2fce008f663307c3 /drivers/net/wireless/intel/iwlwifi/mei/net.c | |
parent | d4530f6368e51f6a0df6f65c38c9da7be325d162 (diff) |
iwlwifi: make some functions friendly to sparse
Somehow, sparse cannot track the cond_lock() here properly,
but if we return directly from the inner basic block then
it doesn't complain. Refactor the code a bit to make it not
complain.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20220130115024.3f9de2d59929.Ib6324e93951ee877754538c89f3ab2a84998bd40@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mei/net.c')
0 files changed, 0 insertions, 0 deletions