git: fde943a07e47 - stable/14 - LinuxKPI: 802.11: remove rate_lowest_index()

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Mon, 10 Feb 2025 14:52:54 UTC
The branch stable/14 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=fde943a07e4718ffdcf5fb56a8645954c814b43c

commit fde943a07e4718ffdcf5fb56a8645954c814b43c
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-01-25 11:51:16 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-02-10 14:52:11 +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
    
    (cherry picked from commit 1b840f09b6b379c0aae5a558ba5a4ed6bb571a85)
---
 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 891277e42541..67c291fc2b89 100644
--- a/sys/compat/linuxkpi/common/include/net/mac80211.h
+++ b/sys/compat/linuxkpi/common/include/net/mac80211.h
@@ -2182,15 +2182,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)
 {