]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3d5d7f873b5d701e97384eccb6962851557daf7d
treea1b8247a51e36af3e84f4b9a414e883fa64bd143
parent4232a25cbac5e17702085c9c17696faf58e5b4d6
cfg80211: remove cfg80211_get_chan_state()

We haven't used this function for years, since commit 1a500ce371a0
("cfg80211: Remove unused cfg80211_can_use_iftype_chan()") which
itself removed a function unused since commit 9b7a59a0786d
("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