mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-01 04:53:09 -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:
committed by
Greg Kroah-Hartman
parent
d4c33acb2a
commit
535e5a9b63
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user