wifi: mac80211: remove local->mtx
authorJohannes Berg <johannes.berg@intel.com>
Mon, 28 Aug 2023 12:00:05 +0000 (14:00 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Sep 2023 09:27:22 +0000 (11:27 +0200)
commit0cd8080e46b834fa72026112488ab61d4b82f03a
tree9fc6171d8ed5ddf0cc06a4978c4653d5b906e714
parent463559b7c3fe5fab1a4b60cd3454ef84a5dc51b8
wifi: mac80211: remove local->mtx

We now hold the wiphy mutex everywhere that we use or
needed the local->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>
14 files changed:
net/mac80211/cfg.c
net/mac80211/chan.c
net/mac80211/ibss.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/link.c
net/mac80211/main.c
net/mac80211/mlme.c
net/mac80211/ocb.c
net/mac80211/offchannel.c
net/mac80211/scan.c
net/mac80211/tdls.c
net/mac80211/tx.c
net/mac80211/util.c