Skip to content

Modify function return type and remove local return variable

Janani Ravichandran outreachy 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3staging: wilc1000: wilc_wlan.c: Modify return type of function tcp_process()drivers/staging/wilc1000/wilc_wlan.c+1 -21 reply
2/3staging: wilc1000: wilc_wlan.c: Remove local variable retdrivers/staging/wilc1000/wilc_wlan.c+2 -30 replies
3/3staging: wilc1000: wilc_wlan.c: Remove empty else blocks.drivers/staging/wilc1000/wilc_wlan.c+0 -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] Modify function return type and remove local return variable

This patchset modifies return type of tcp_process() from int to void as the value returned is not used anywhere. Furthermore, the local variable used in the return statement in the function is not being initialised in all code paths. This variable has been removed as it is no longer necessary.

Janani Ravichandran (3):
staging: wilc1000: wilc_wlan.c: Modify return type of function
add_tcp_pending_ack()
staging: wilc1000: wilc_wlan.c: Remove local variable ret
staging: wilc1000: wilc_wlan.c: Remove empty else blocks.

 drivers/staging/wilc1000/wilc_wlan.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
Signature · 1 line
2.5.0