Skip to content

Change function return type to void

Shobhit Kukreti lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3staging: rtl8723bs: os_dep: Change return type of function rtw_suspend_normal() to voiddrivers/staging/rtl8723bs/os_dep/os_intfs.c+1 -30 replies
2/3staging: rtl8723bs: os_dep: modified return type of function rtw_suspend_wow() to voiddrivers/staging/rtl8723bs/include/drv_types.h drivers/staging/rtl8723bs/os_dep/os_intfs.c+2 -40 replies
3/3staging: rtl8723bs: os_dep: Change return type of rtw_init_default_value() to voiddrivers/staging/rtl8723bs/os_dep/os_intfs.c+2 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.7.4