git: 1b840f09b6b3 - main - LinuxKPI: 802.11: remove rate_lowest_index()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 31 Jan 2025 23:53:43 UTC
The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=1b840f09b6b379c0aae5a558ba5a4ed6bb571a85 commit 1b840f09b6b379c0aae5a558ba5a4ed6bb571a85 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2025-01-25 11:51:16 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2025-01-31 23:53:31 +0000 LinuxKPI: 802.11: remove rate_lowest_index() rate_lowest_index() is no longer used anywhere in our code. Garbage collect it. Sponsored by: The FreeBSD Foundation MFC after: 3 days --- sys/compat/linuxkpi/common/include/net/mac80211.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/sys/compat/linuxkpi/common/include/net/mac80211.h b/sys/compat/linuxkpi/common/include/net/mac80211.h index 68d135a441c1..8872be569e44 100644 --- a/sys/compat/linuxkpi/common/include/net/mac80211.h +++ b/sys/compat/linuxkpi/common/include/net/mac80211.h @@ -2186,15 +2186,6 @@ ieee80211_txq_get_depth(struct ieee80211_txq *txq, unsigned long *frame_cnt, linuxkpi_ieee80211_txq_get_depth(txq, frame_cnt, byte_cnt); } -static __inline int -rate_lowest_index(struct ieee80211_supported_band *band, - struct ieee80211_sta *sta) -{ - IMPROVE(); - return (0); -} - - static __inline void SET_IEEE80211_PERM_ADDR (struct ieee80211_hw *hw, uint8_t *addr) {