From: Shobhit Kukreti <shobhitkukreti@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Bastien Nocera <hadess@hadess.net>,
Hans de Goede <hdegoede@redhat.com>,
Larry Finger <Larry.Finger@lwfinger.net>
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
Shobhit Kukreti <shobhitkukreti@gmail.com>
Subject: [PATCH 0/3] Change function return type to void
Date: Sat, 22 Jun 2019 09:40:39 -0700 [thread overview]
Message-ID: <cover.1561220637.git.shobhitkukreti@gmail.com> (raw)
This patchset modifies function return types to void.
The return values of the function are never checked and
they always return success.
This resolves coccicheck Unneeded variable warnings.
PATCH[1/3]: This patch changes return type of rtw_suspend_normal() to
void
PATCH[2/3]: This patch changes return type of rtw_suspend_wow() to
void
PATCH[3/3]: This patch changes return type of rtw_init_default_value to
void
Shobhit Kukreti (3):
staging: rtl8723bs: os_dep: Change return type of function
rtw_suspend_normal() to void
staging: rtl8723bs: os_dep: modified return type of function
rtw_suspend_wow() to void
staging: rtl8723bs: os_dep: Change return type of
rtw_init_default_value() to void
drivers/staging/rtl8723bs/include/drv_types.h | 2 +-
drivers/staging/rtl8723bs/os_dep/os_intfs.c | 14 ++++----------
2 files changed, 5 insertions(+), 11 deletions(-)
--
2.7.4
next reply other threads:[~2019-06-22 16:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-22 16:40 Shobhit Kukreti [this message]
2019-06-22 16:40 ` [PATCH 1/3] staging: rtl8723bs: os_dep: Change return type of function rtw_suspend_normal() to void Shobhit Kukreti
2019-06-22 16:40 ` [PATCH 2/3] staging: rtl8723bs: os_dep: modified return type of function rtw_suspend_wow() " Shobhit Kukreti
2019-06-22 16:40 ` [PATCH 3/3] staging: rtl8723bs: os_dep: Change return type of rtw_init_default_value() " Shobhit Kukreti
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.1561220637.git.shobhitkukreti@gmail.com \
--to=shobhitkukreti@gmail.com \
--cc=Larry.Finger@lwfinger.net \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=hadess@hadess.net \
--cc=hdegoede@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/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.