Skip to content

Modify functions return type to void

Shobhit Kukreti lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2staging: rtl8723bs: os_dep: Modify return type of function loadparam(..) to voiddrivers/staging/rtl8723bs/os_dep/os_intfs.c+1 -30 replies
2/2staging: rtl8723bs: os_dep: Modify return type of function rtw_reset_drv_sw() to void.drivers/staging/rtl8723bs/include/osdep_intf.h drivers/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/2] Modify functions return type to void

This patchset modifies two 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/2] : This patch modifies return type of function loadparam() to void.

PATCH[2/2] : This patch modifies return type of rtw_reset_drv_sw() to void.

Shobhit Kukreti (2):
staging: rtl8723bs: os_dep: Modify return type of function
loadparam(..) to void
staging: rtl8723bs: os_dep: Modify return type of function
rtw_reset_drv_sw() to void.

 drivers/staging/rtl8723bs/include/osdep_intf.h | 2 +-
 drivers/staging/rtl8723bs/os_dep/os_intfs.c    | 8 ++------
 2 files changed, 3 insertions(+), 7 deletions(-)
Signature · 1 line
2.7.4