mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
staging: rtl8723bs: hal: Change return type to void from u8
The function HalQueryTxOQTBufferStatus8723BSdio always returns true and caller functions are not bother about return status. Change return type to void. Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
52f7ee660f
commit
12efdd8dc6
2 changed files with 2 additions and 3 deletions
|
|
@ -1190,12 +1190,11 @@ u8 HalQueryTxBufferStatus8723BSdio(struct adapter *adapter)
|
|||
/* Description: */
|
||||
/* Query SDIO Local register to get the current number of TX OQT Free Space. */
|
||||
/* */
|
||||
u8 HalQueryTxOQTBufferStatus8723BSdio(struct adapter *adapter)
|
||||
void HalQueryTxOQTBufferStatus8723BSdio(struct adapter *adapter)
|
||||
{
|
||||
struct hal_com_data *haldata = GET_HAL_DATA(adapter);
|
||||
|
||||
haldata->SdioTxOQTFreeSpace = SdioLocalCmd52Read1Byte(adapter, SDIO_REG_OQT_FREE_PG);
|
||||
return true;
|
||||
}
|
||||
|
||||
#if defined(CONFIG_WOWLAN) || defined(CONFIG_AP_WOWLAN)
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ extern void InitSysInterrupt8723BSdio(struct adapter *padapter);
|
|||
extern void EnableInterrupt8723BSdio(struct adapter *padapter);
|
||||
extern void DisableInterrupt8723BSdio(struct adapter *padapter);
|
||||
extern u8 HalQueryTxBufferStatus8723BSdio(struct adapter *padapter);
|
||||
extern u8 HalQueryTxOQTBufferStatus8723BSdio(struct adapter *padapter);
|
||||
extern void HalQueryTxOQTBufferStatus8723BSdio(struct adapter *padapter);
|
||||
#if defined(CONFIG_WOWLAN) || defined(CONFIG_AP_WOWLAN)
|
||||
extern void ClearInterrupt8723BSdio(struct adapter *padapter);
|
||||
#endif /* CONFIG_WOWLAN */
|
||||
|
|
|
|||
Loading…
Reference in a new issue