From: Hungyu Lin <dennylin0707@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Dan Carpenter <error27@gmail.com>,
linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
Hungyu Lin <dennylin0707@gmail.com>
Subject: [PATCH 0/2] staging: rtl8723bs: make xmit buffer free helpers return void
Date: Tue, 25 Aug 2026 12:54:04 +0000 [thread overview]
Message-ID: <20260825125406.1710-1-dennylin0707@gmail.com> (raw)
Neither rtw_free_xmitbuf_ext() nor rtw_free_xmitbuf() has callers that
check its return value.
Change both functions to return void and remove the redundant _SUCCESS
and _FAIL return values. Also remove extern from their declarations.
The first patch updates the lower-level helper, and the second updates
its caller.
Hungyu Lin (2):
staging: rtl8723bs: make rtw_free_xmitbuf_ext() return void
staging: rtl8723bs: make rtw_free_xmitbuf() return void
drivers/staging/rtl8723bs/core/rtw_xmit.c | 11 ++++-------
drivers/staging/rtl8723bs/include/rtw_xmit.h | 4 ++--
2 files changed, 6 insertions(+), 9 deletions(-)
--
2.43.0
next reply other threads:[~2026-08-25 12:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-25 12:54 Hungyu Lin [this message]
2026-08-25 12:54 ` [PATCH 1/2] staging: rtl8723bs: make rtw_free_xmitbuf_ext() return void Hungyu Lin
2026-08-25 12:54 ` [PATCH 2/2] staging: rtl8723bs: make rtw_free_xmitbuf() " Hungyu Lin
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=20260825125406.1710-1-dennylin0707@gmail.com \
--to=dennylin0707@gmail.com \
--cc=error27@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox