All of lore.kernel.org
 help / color / mirror / Atom feed
From: Janani Ravichandran <janani.rvchndrn@gmail.com>
To: outreachy-kernel@googlegroups.com
Cc: linux-wireless@vger-kernel.org
Subject: [PATCH 0/3] Modify function return type and remove local return variable
Date: Tue, 16 Feb 2016 13:17:08 -0500	[thread overview]
Message-ID: <cover.1455645880.git.janani.rvchndrn@gmail.com> (raw)

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



             reply	other threads:[~2016-02-16 13:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-16 18:17 Janani Ravichandran [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1455645880.git.janani.rvchndrn@gmail.com \
    --to=janani.rvchndrn@gmail.com \
    --cc=linux-wireless@vger-kernel.org \
    --cc=outreachy-kernel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.