diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-09-04 22:29:10 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2022-09-07 11:02:59 +0300 |
commit | df8e1af22cee900826112e8e4612cbeb2b168929 (patch) | |
tree | 39c5ab0d467954e95f6052a1f52075f6ea37ece1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | fbe7e18581ef55114258843358727c0cfeaa2860 (diff) | |
download | linux-df8e1af22cee900826112e8e4612cbeb2b168929.tar.xz |
wifi: cw1200: remove RCU STA pointer handling in TX
We can call this in one of two ways: through mac80211, where
we're already in an RCU read-side critical section, or from
some other code in the driver where this pointer can only be
NULL. In any case, we get a 'free' already protected pointer
to the sta through info->control.sta, so we can use it on
the stack without any further protection.
Remove the rcu_dereference() and critical section.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220904212910.e5bc20dd17bf.Ib570ff7fde33c2b6eddef493a3541fa04eb47181@changeid
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions