Thread (35 messages) 35 messages, 2 authors, 2021-06-23
STALE1828d LANDED

[PATCH 26/31] cfg80211: remove ieee80211_get_he_sta_cap()

From: Luca Coelho <hidden>
Date: 2021-06-18 11:06:42
Subsystem: 802.11 (including cfg80211/nl80211), the rest · Maintainers: Johannes Berg, Linus Torvalds

From: Johannes Berg <redacted>

This function turned out to be too easy to misuse since it
doesn't consider the interface type. Remove it now that we
no longer use it in mac80211.

Signed-off-by: Johannes Berg <redacted>
Signed-off-by: Luca Coelho <redacted>
---
 include/net/cfg80211.h | 12 ------------
 1 file changed, 12 deletions(-)
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 5a0c4fd2ec5a..6c851fa312ac 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -533,18 +533,6 @@ ieee80211_get_he_iftype_cap(const struct ieee80211_supported_band *sband,
 	return NULL;
 }
 
-/**
- * ieee80211_get_he_sta_cap - return HE capabilities for an sband's STA
- * @sband: the sband to search for the STA on
- *
- * Return: pointer to the struct ieee80211_sta_he_cap, or NULL is none found
- */
-static inline const struct ieee80211_sta_he_cap *
-ieee80211_get_he_sta_cap(const struct ieee80211_supported_band *sband)
-{
-	return ieee80211_get_he_iftype_cap(sband, NL80211_IFTYPE_STATION);
-}
-
 /**
  * ieee80211_get_he_6ghz_capa - return HE 6 GHz capabilities
  * @sband: the sband to search for the STA on
-- 
2.32.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help