All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nishka Dasgupta <nishka.dasgupta@yahoo.com>
To: gregkh@linuxfoundation.org, outreachy-kernel@googlegroups.com
Cc: Nishka Dasgupta <nishka.dasgupta@yahoo.com>
Subject: [PATCH v2 0/5] Remove unnecessary functions and return
Date: Fri, 22 Mar 2019 20:08:22 +0530	[thread overview]
Message-ID: <20190322143827.24480-1-nishka.dasgupta@yahoo.com> (raw)

Remove unnecessary functions and return variables in the driver
rtl8723bs. Issues found while using ret.cocci and Coccinelle.

Nishka Dasgupta (5):
  staging; rtl8723bs: Remove unnecessary function rtw_init_mlme_priv()
  staging: rtl8723bs: core: Change datatype from sint to int
  staging: rtl8723bs: core: Remove parentheses
  staging: rtl8723bs: Remove function rtw_alloc_network()
  staging: rtl8723bs: core: Remove return variable in rtw_io.c

 drivers/staging/rtl8723bs/core/rtw_cmd.c     |  2 +-
 drivers/staging/rtl8723bs/core/rtw_io.c      |  3 +-
 drivers/staging/rtl8723bs/core/rtw_mlme.c    | 39 ++++++--------------
 drivers/staging/rtl8723bs/include/rtw_mlme.h |  4 +-
 4 files changed, 14 insertions(+), 34 deletions(-)

-- 
Changes in v2:
- Drop Patches 1 and 2 from series as they have already been accepted.
- Remove functions that now consist of only one return statement.
- Remove trailing whitespace.
- Change function datatypes and names.
2.19.1



             reply	other threads:[~2019-03-22 14:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-22 14:38 Nishka Dasgupta [this message]
2019-03-22 14:38 ` [PATCH v2 1/5] staging; rtl8723bs: Remove unnecessary function rtw_init_mlme_priv() Nishka Dasgupta
2019-03-22 14:38 ` [PATCH v2 2/5] staging: rtl8723bs: core: Change datatype from sint to int Nishka Dasgupta
2019-03-22 14:38 ` [PATCH v2 3/5] staging: rtl8723bs: core: Remove parentheses Nishka Dasgupta
2019-03-22 14:38 ` [PATCH v2 4/5] staging: rtl8723bs: Remove function rtw_alloc_network() Nishka Dasgupta
2019-03-22 14:38 ` [PATCH v2 5/5] staging: rtl8723bs: core: Remove return variable in rtw_io.c Nishka Dasgupta
2019-03-24  8:49   ` Greg KH
2019-03-24  8:53     ` Greg KH
2019-03-24 17:48       ` [Outreachy kernel] " Nishka Dasgupta

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=20190322143827.24480-1-nishka.dasgupta@yahoo.com \
    --to=nishka.dasgupta@yahoo.com \
    --cc=gregkh@linuxfoundation.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.