diff options
author | Johannes Berg <johannes.berg@intel.com> | 2023-08-28 14:00:02 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-09-11 11:27:22 +0200 |
commit | 2a8b665e6bcc3d554beb0d7cc1e4fd78dd94b55d (patch) | |
tree | 2f948f4f5324b3641d7723561cd308d8e71d8df8 /net/mac80211/ieee80211_i.h | |
parent | wifi: mac80211: remove sta_mtx (diff) | |
download | linux-2a8b665e6bcc3d554beb0d7cc1e4fd78dd94b55d.tar.xz linux-2a8b665e6bcc3d554beb0d7cc1e4fd78dd94b55d.zip |
wifi: mac80211: remove key_mtx
We now hold the wiphy mutex everywhere that we use or
needed the key_mtx, so we don't need this mutex any
more. Remove it.
Most of this change was done automatically with spatch.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 1bc921fcd52b..a0bbd7070974 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -1466,12 +1466,6 @@ struct ieee80211_local { struct list_head mon_list; /* only that are IFF_UP && !cooked */ struct mutex iflist_mtx; - /* - * Key mutex, protects sdata's key_list and sta_info's - * key pointers and ptk_idx (write access, they're RCU.) - */ - struct mutex key_mtx; - /* mutex for scan and work locking */ struct mutex mtx; |