mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
staging: rtl8723bs: core: Remove function enable_rate_adaptive()
Remove function enable_rate_adaptive as all it does is call Update_RA_Entry. Modify the single callsite of enable_rate_adaptive to call Update_RA_Entry directly instead. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
eb569cc0d9
commit
183eb53d25
1 changed files with 1 additions and 7 deletions
|
|
@ -1615,16 +1615,10 @@ void Update_RA_Entry(struct adapter *padapter, struct sta_info *psta)
|
|||
rtw_hal_update_ra_mask(psta, 0);
|
||||
}
|
||||
|
||||
void enable_rate_adaptive(struct adapter *padapter, struct sta_info *psta);
|
||||
void enable_rate_adaptive(struct adapter *padapter, struct sta_info *psta)
|
||||
{
|
||||
Update_RA_Entry(padapter, psta);
|
||||
}
|
||||
|
||||
void set_sta_rate(struct adapter *padapter, struct sta_info *psta)
|
||||
{
|
||||
/* rate adaptive */
|
||||
enable_rate_adaptive(padapter, psta);
|
||||
Update_RA_Entry(padapter, psta);
|
||||
}
|
||||
|
||||
unsigned char check_assoc_AP(u8 *pframe, uint len)
|
||||
|
|
|
|||
Loading…
Reference in a new issue