mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
staging: rtl8723bs: hal: hal_btcoex.c: Remove variables
Remove variables and use the values directly. 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
d4c33acb2a
commit
535e5a9b63
1 changed files with 2 additions and 8 deletions
|
|
@ -362,15 +362,9 @@ static u32 halbtcoutsrc_GetBtPatchVer(PBTC_COEXIST pBtCoexist)
|
|||
|
||||
static s32 halbtcoutsrc_GetWifiRssi(struct adapter *padapter)
|
||||
{
|
||||
struct hal_com_data *pHalData;
|
||||
s32 UndecoratedSmoothedPWDB = 0;
|
||||
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
|
||||
|
||||
|
||||
pHalData = GET_HAL_DATA(padapter);
|
||||
|
||||
UndecoratedSmoothedPWDB = pHalData->dmpriv.EntryMinUndecoratedSmoothedPWDB;
|
||||
|
||||
return UndecoratedSmoothedPWDB;
|
||||
return pHalData->dmpriv.EntryMinUndecoratedSmoothedPWDB;
|
||||
}
|
||||
|
||||
static u8 halbtcoutsrc_GetWifiScanAPNum(struct adapter *padapter)
|
||||
|
|
|
|||
Loading…
Reference in a new issue