staging: rtl8723bs: hal: Remove function clearinterrupt8723bsdio()
Remove unused function clearinterrupt8723bsdio and associated ifdef. 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
5c5f1c1d99
commit
7ebc875198
1 changed files with 0 additions and 35 deletions
|
@ -795,41 +795,6 @@ void InitSysInterrupt8723BSdio(struct adapter *adapter)
|
||||||
0);
|
0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_WOWLAN
|
|
||||||
/* */
|
|
||||||
/* Description: */
|
|
||||||
/* Clear corresponding SDIO Host ISR interrupt service. */
|
|
||||||
/* */
|
|
||||||
/* Assumption: */
|
|
||||||
/* Using SDIO Local register ONLY for configuration. */
|
|
||||||
/* */
|
|
||||||
/* Created by Roger, 2011.02.11. */
|
|
||||||
/* */
|
|
||||||
void clearinterrupt8723bsdio(struct adapter *adapter)
|
|
||||||
{
|
|
||||||
struct hal_com_data *haldata;
|
|
||||||
u8 *clear;
|
|
||||||
|
|
||||||
if (adapter->bSurpriseRemoved)
|
|
||||||
return;
|
|
||||||
|
|
||||||
haldata = GET_HAL_DATA(adapter);
|
|
||||||
clear = rtw_zmalloc(4);
|
|
||||||
|
|
||||||
if (!clear)
|
|
||||||
return;
|
|
||||||
|
|
||||||
/* Clear corresponding HISR Content if needed */
|
|
||||||
*(__le32 *)clear = cpu_to_le32(haldata->sdio_hisr & MASK_SDIO_HISR_CLEAR);
|
|
||||||
if (*(__le32 *)clear) {
|
|
||||||
/* Perform write one clear operation */
|
|
||||||
sdio_local_write(padapter, SDIO_REG_HISR, 4, clear);
|
|
||||||
}
|
|
||||||
|
|
||||||
kfree(clear);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* */
|
/* */
|
||||||
/* Description: */
|
/* Description: */
|
||||||
/* Enalbe SDIO Host Interrupt Mask configuration on SDIO local domain. */
|
/* Enalbe SDIO Host Interrupt Mask configuration on SDIO local domain. */
|
||||||
|
|
Loading…
Reference in a new issue