aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/rc.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-07-14 20:14:01 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-24 15:05:15 -0400
commit4e6df85dacedbc68b551fdd8677f7df68639c181 (patch)
tree7c019fa715b0a322338a50831699a3cd66de4095 /drivers/net/wireless/ath/ath9k/rc.c
parent39448b0a27529f2feecd876729ef0fba25354363 (diff)
ath9k: remove unused ath_rc_isvalid_txmask()
Cc: Derek Smithies <derek@indranet.co.nz> Cc: Chittajit Mitra <Chittajit.Mitra@Atheros.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/rc.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/rc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/wireless/ath/ath9k/rc.c b/drivers/net/wireless/ath/ath9k/rc.c
index c8f800e6c299..b0e3702ca06a 100644
--- a/drivers/net/wireless/ath/ath9k/rc.c
+++ b/drivers/net/wireless/ath/ath9k/rc.c
@@ -454,13 +454,6 @@ static inline void ath_rc_set_valid_txmask(struct ath_rate_priv *ath_rc_priv,
454 ath_rc_priv->valid_rate_index[index] = valid_tx_rate ? 1 : 0; 454 ath_rc_priv->valid_rate_index[index] = valid_tx_rate ? 1 : 0;
455} 455}
456 456
457static inline int ath_rc_isvalid_txmask(struct ath_rate_priv *ath_rc_priv,
458 u8 index)
459{
460 ASSERT(index <= ath_rc_priv->rate_table_size);
461 return ath_rc_priv->valid_rate_index[index];
462}
463
464static inline 457static inline
465int ath_rc_get_nextvalid_txrate(const struct ath_rate_table *rate_table, 458int ath_rc_get_nextvalid_txrate(const struct ath_rate_table *rate_table,
466 struct ath_rate_priv *ath_rc_priv, 459 struct ath_rate_priv *ath_rc_priv,