diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-06-24 12:15:52 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-07-15 12:43:15 +0300 |
commit | 94ddc3b5aa21c261be277eab8bc80f7520038a34 (patch) | |
tree | 22aa9b01e4d167f86adb0e0a5e8d6fbf31f01b5e /net/mac80211/ht.c | |
parent | 284b38b6902a7154e3675482418a7b6df47808fe (diff) | |
download | linux-94ddc3b5aa21c261be277eab8bc80f7520038a34.tar.xz |
wifi: mac80211: move ieee80211_request_smps_mgd_work
This function can be static.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ht.c')
-rw-r--r-- | net/mac80211/ht.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/net/mac80211/ht.c b/net/mac80211/ht.c index ea7ce87b7ec4..8c24817cd497 100644 --- a/net/mac80211/ht.c +++ b/net/mac80211/ht.c @@ -550,18 +550,6 @@ int ieee80211_send_smps_action(struct ieee80211_sub_if_data *sdata, return 0; } -void ieee80211_request_smps_mgd_work(struct work_struct *work) -{ - struct ieee80211_link_data *link = - container_of(work, struct ieee80211_link_data, - u.mgd.request_smps_work); - - sdata_lock(link->sdata); - __ieee80211_request_smps_mgd(link->sdata, link, - link->u.mgd.driver_smps_mode); - sdata_unlock(link->sdata); -} - void ieee80211_request_smps(struct ieee80211_vif *vif, unsigned int link_id, enum ieee80211_smps_mode smps_mode) { |