staging : rtl8188eu : remove void function return
PATCH 1/1 staging : rtl8188eu : remove void function return
kernel coding style doesn't allow the return statement in void function.
Signed-off-by Surender Polsani <[email protected]>
---
Changes for v2:
corrected subject line as suggested Changes for v3:
modified from line as suggested by Greg KH placed a semicolon in label for fixing build error
--- drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8188eu/hal/rtl8188e_dm.c +1 -1
@@ -165,7 +165,7 @@ void rtw_hal_dm_watchdog(struct adapter *Adapter) skip_dm:/* Check GPIO to determine current RF on/off and Pbc status. */ /* Check Hardware Radio ON/OFF or not */ -return ; + ; }void rtw_hal_dm_init (struct adapter *Adapter)
Signature · 1 line
1.9.1
Quoted 19 lines · Surender Polsani
kernel coding style doesn't allow the return statement in void function.
Signed-off-by Surender Polsani <[email protected]>---
Changes for v2:
corrected subject line as suggested Changes for v3:
modified from line as suggested by Greg KH placed a semicolon in label for fixing build error--- drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/rtl8188eu/hal/rtl8188e_dm.c +0
-0
drivers/staging/rtl8188eu/hal/rtl8188e_dm.c void rtw_hal_dm_watchdog(struct adapter *Adapter) · line 168
Quoted 5 lines
drivers/staging/rtl8188eu/hal/rtl8188e_dm.c +1
-1@@ -165,7 +165,7 @@ void rtw_hal_dm_watchdog(struct adapter *Adapter) skip_dm:/* Check GPIO to determine current RF on/off and Pbc status. */ /* Check Hardware Radio ON/OFF or not */ -return ; + ;
Just get rid of the label.
regards,
dan carpenter