cfg80211: remove cfg80211_get_chan_state()
authorJohannes Berg <johannes.berg@intel.com>
Tue, 12 Apr 2022 20:09:59 +0000 (22:09 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 4 May 2022 10:30:24 +0000 (12:30 +0200)
commit34c9a0e71cbb316f360919353273b185c2780cd7
treea1b8247a51e36af3e84f4b9a414e883fa64bd143
parent7ba49f4c6896d83b3841c0b046a0a7b1e97cc0dd
cfg80211: remove cfg80211_get_chan_state()

We haven't used this function for years, since commit c781944b71f8
("cfg80211: Remove unused cfg80211_can_use_iftype_chan()") which
itself removed a function unused since commit 97dc94f1d933
("cfg80211: remove channel_switch combination check"), almost eight
years ago.

Also remove the now unused enum cfg80211_chan_mode and some struct
members that were only used for this function.

Link: https://lore.kernel.org/r/20220412220958.1a191dca19d7.Ide4448f02d0e2f1ca2992971421ffc1933a5370a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/chan.c
net/wireless/core.h
net/wireless/ibss.c