[PATCH 0/3] Change function return type to void

Shobhit Kukreti shobhitkukreti at gmail.com
Sat Jun 22 16:40:39 UTC 2019


This patchset modifies function return types to void.
The return values of the function are never checked and 
they always return success.
This resolves coccicheck Unneeded variable warnings.

PATCH[1/3]: This patch changes return type of rtw_suspend_normal() to 
void

PATCH[2/3]: This patch changes return type of rtw_suspend_wow() to 
void 

PATCH[3/3]: This patch changes return type of rtw_init_default_value to 
void


Shobhit Kukreti (3):
  staging: rtl8723bs: os_dep: Change return type of function    
    rtw_suspend_normal() to void
  staging: rtl8723bs: os_dep: modified return type of function    
    rtw_suspend_wow() to void
  staging: rtl8723bs: os_dep: Change return type of    
    rtw_init_default_value() to void

 drivers/staging/rtl8723bs/include/drv_types.h |  2 +-
 drivers/staging/rtl8723bs/os_dep/os_intfs.c   | 14 ++++----------
 2 files changed, 5 insertions(+), 11 deletions(-)

-- 
2.7.4



More information about the devel mailing list