Modify function return type and remove local return variable
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | staging: wilc1000: wilc_wlan.c: Modify return type of function tcp_process()drivers/ | +1 | 1 reply | |
| 2/3 | staging: wilc1000: wilc_wlan.c: Remove local variable retdrivers/ | +2 | 0 replies | |
| 3/3 | staging: wilc1000: wilc_wlan.c: Remove empty else blocks.drivers/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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