diff options
author | Johannes Berg <johannes.berg@intel.com> | 2018-07-05 00:19:13 +0300 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2018-11-11 12:06:14 +0300 |
commit | f3f240f973d103069d91e559561436e4148a7bac (patch) | |
tree | 66ad8d1e8575419452519bdb5ccb4945ae83500b /drivers/net/wireless/intel/iwlwifi/iwl-prph.h | |
parent | 06bc6f6ed4ae0246a5e52094d1be90906a1361c7 (diff) | |
download | linux-f3f240f973d103069d91e559561436e4148a7bac.tar.xz |
iwlwifi: mvm: remove queue_info_lock
All the queue management code runs under mvm->mutex, so there are
only very few cases of accessing the data structures without it:
* TX path, which doesn't take any locks anyway
* iwl_mvm_wake_sw_queue() and iwl_mvm_stop_sw_queue() where we
just (atomically) read a bitmap, so the lock isn't needed.
Therefore, we can remove the spinlock. This enables some cleanup
in the ugly locking in iwl_mvm_inactivity_check().
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-prph.h')
0 files changed, 0 insertions, 0 deletions