mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-14 12:37:32 +00:00
staging: rtl8723bs: Remove rtw_btcoex_IQKNotify()
Remove function rtw_btcoex_IQKNotify as all it does is call hal_btcoex_IQKNotify. Modify call sites accordingly. 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
bd9dfe93c2
commit
6fc61d9f06
3 changed files with 2 additions and 8 deletions
|
@ -44,11 +44,6 @@ void rtw_btcoex_SpecialPacketNotify(struct adapter *padapter, u8 pktType)
|
||||||
hal_btcoex_SpecialPacketNotify(padapter, pktType);
|
hal_btcoex_SpecialPacketNotify(padapter, pktType);
|
||||||
}
|
}
|
||||||
|
|
||||||
void rtw_btcoex_IQKNotify(struct adapter *padapter, u8 state)
|
|
||||||
{
|
|
||||||
hal_btcoex_IQKNotify(padapter, state);
|
|
||||||
}
|
|
||||||
|
|
||||||
void rtw_btcoex_BtInfoNotify(struct adapter *padapter, u8 length, u8 *tmpBuf)
|
void rtw_btcoex_BtInfoNotify(struct adapter *padapter, u8 length, u8 *tmpBuf)
|
||||||
{
|
{
|
||||||
hal_btcoex_BtInfoNotify(padapter, length, tmpBuf);
|
hal_btcoex_BtInfoNotify(padapter, length, tmpBuf);
|
||||||
|
|
|
@ -991,14 +991,14 @@ static u32 rtl8723bs_hal_init(struct adapter *padapter)
|
||||||
msleep(50);
|
msleep(50);
|
||||||
} while (jiffies_to_msecs(jiffies - start_time) <= 400);
|
} while (jiffies_to_msecs(jiffies - start_time) <= 400);
|
||||||
|
|
||||||
rtw_btcoex_IQKNotify(padapter, true);
|
hal_btcoex_IQKNotify(padapter, true);
|
||||||
|
|
||||||
restore_iqk_rst = pwrpriv->bips_processing;
|
restore_iqk_rst = pwrpriv->bips_processing;
|
||||||
b2Ant = pHalData->EEPROMBluetoothAntNum == Ant_x2;
|
b2Ant = pHalData->EEPROMBluetoothAntNum == Ant_x2;
|
||||||
PHY_IQCalibrate_8723B(padapter, false, restore_iqk_rst, b2Ant, pHalData->ant_path);
|
PHY_IQCalibrate_8723B(padapter, false, restore_iqk_rst, b2Ant, pHalData->ant_path);
|
||||||
pHalData->odmpriv.RFCalibrateInfo.bIQKInitialized = true;
|
pHalData->odmpriv.RFCalibrateInfo.bIQKInitialized = true;
|
||||||
|
|
||||||
rtw_btcoex_IQKNotify(padapter, false);
|
hal_btcoex_IQKNotify(padapter, false);
|
||||||
|
|
||||||
/* Inform WiFi FW that it is the finish of IQK */
|
/* Inform WiFi FW that it is the finish of IQK */
|
||||||
h2cCmdBuf = 0;
|
h2cCmdBuf = 0;
|
||||||
|
|
|
@ -21,7 +21,6 @@ void rtw_btcoex_ScanNotify(struct adapter *, u8 type);
|
||||||
void rtw_btcoex_ConnectNotify(struct adapter *, u8 action);
|
void rtw_btcoex_ConnectNotify(struct adapter *, u8 action);
|
||||||
void rtw_btcoex_MediaStatusNotify(struct adapter *, u8 mediaStatus);
|
void rtw_btcoex_MediaStatusNotify(struct adapter *, u8 mediaStatus);
|
||||||
void rtw_btcoex_SpecialPacketNotify(struct adapter *, u8 pktType);
|
void rtw_btcoex_SpecialPacketNotify(struct adapter *, u8 pktType);
|
||||||
void rtw_btcoex_IQKNotify(struct adapter *padapter, u8 state);
|
|
||||||
void rtw_btcoex_BtInfoNotify(struct adapter *, u8 length, u8 *tmpBuf);
|
void rtw_btcoex_BtInfoNotify(struct adapter *, u8 length, u8 *tmpBuf);
|
||||||
void rtw_btcoex_SuspendNotify(struct adapter *, u8 state);
|
void rtw_btcoex_SuspendNotify(struct adapter *, u8 state);
|
||||||
void rtw_btcoex_HaltNotify(struct adapter *);
|
void rtw_btcoex_HaltNotify(struct adapter *);
|
||||||
|
|
Loading…
Reference in a new issue