All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Modify function return type and remove local return variable
@ 2016-02-16 18:17 Janani Ravichandran
  2016-02-16 18:20 ` [PATCH 1/3] staging: wilc1000: wilc_wlan.c: Modify return type of function tcp_process() Janani Ravichandran
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Janani Ravichandran @ 2016-02-16 18:17 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: linux-wireless

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(-)

-- 
2.5.0



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-02-16 13:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-16 18:17 [PATCH 0/3] Modify function return type and remove local return variable Janani Ravichandran
2016-02-16 18:20 ` [PATCH 1/3] staging: wilc1000: wilc_wlan.c: Modify return type of function tcp_process() Janani Ravichandran
2016-02-16 13:26   ` [Outreachy kernel] " Daniel Baluta
2016-02-16 18:22 ` [PATCH 2/3] staging: wilc1000: wilc_wlan.c: Remove local variable ret Janani Ravichandran
2016-02-16 18:24 ` [PATCH 3/3] staging: wilc1000: wilc_wlan.c: Remove empty else blocks Janani Ravichandran

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.