From: Oleksij Rempel Date: Sat, 11 May 2013 15:48:15 +0000 (+0200) Subject: remove rcIsValidTxMask X-Git-Tag: 1.4.0~12^2^2~20 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=efe913912332f3178f7205bd93a560da53ae56d5;p=open-ath9k-htc-firmware.git remove rcIsValidTxMask Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/ratectrl_11n_ln.c b/target_firmware/wlan/ratectrl_11n_ln.c index 5e3e841..8b88f6e 100755 --- a/target_firmware/wlan/ratectrl_11n_ln.c +++ b/target_firmware/wlan/ratectrl_11n_ln.c @@ -122,13 +122,6 @@ rcSetValidTxMask(TX_RATE_CTRL *pRc, A_UINT8 index, A_BOOL validTxRate) } -static INLINE A_BOOL -rcIsValidTxMask(TX_RATE_CTRL *pRc, A_UINT8 index) -{ - ASSERT(index < pRc->rateTableSize); - return (pRc->validRateIndex[index]); -} - /* Iterators for validTxRateMask */ static INLINE A_BOOL rcGetNextValidTxRate(const RATE_TABLE_11N *pRateTable, TX_RATE_CTRL *pRc,