OSDN Git Service

staging: rtl8723bs: hal: hal_btcoex: Remove unneeded variable PHalData
authorHariprasad Kelam <hariprasad.kelam@gmail.com>
Wed, 26 Jun 2019 02:42:20 +0000 (08:12 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 1 Jul 2019 07:11:23 +0000 (09:11 +0200)
pHalData is not being used in halbtcoutsrc_LeaveLowPower. So remove the
same.

Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/hal_btcoex.c

index 99e0b91..0c2a754 100644 (file)
@@ -195,7 +195,6 @@ static void halbtcoutsrc_NormalLps(PBTC_COEXIST pBtCoexist)
 static void halbtcoutsrc_LeaveLowPower(PBTC_COEXIST pBtCoexist)
 {
        struct adapter *padapter;
-       struct hal_com_data *pHalData;
        s32 ready;
        unsigned long stime;
        unsigned long utime;
@@ -203,7 +202,6 @@ static void halbtcoutsrc_LeaveLowPower(PBTC_COEXIST pBtCoexist)
 
 
        padapter = pBtCoexist->Adapter;
-       pHalData = GET_HAL_DATA(padapter);
        ready = _FAIL;
 #ifdef LPS_RPWM_WAIT_MS
        timeout = LPS_RPWM_WAIT_MS;