The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH 0/2] staging: rtl8723bs: make xmit buffer free helpers return void
@ 2026-08-25 12:54 Hungyu Lin
  2026-08-25 12:54 ` [PATCH 1/2] staging: rtl8723bs: make rtw_free_xmitbuf_ext() " Hungyu Lin
  2026-08-25 12:54 ` [PATCH 2/2] staging: rtl8723bs: make rtw_free_xmitbuf() " Hungyu Lin
  0 siblings, 2 replies; 3+ messages in thread
From: Hungyu Lin @ 2026-08-25 12:54 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Dan Carpenter, linux-staging, linux-kernel, Hungyu Lin

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


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

end of thread, other threads:[~2026-08-25 12:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-25 12:54 [PATCH 0/2] staging: rtl8723bs: make xmit buffer free helpers return void Hungyu Lin
2026-08-25 12:54 ` [PATCH 1/2] staging: rtl8723bs: make rtw_free_xmitbuf_ext() " Hungyu Lin
2026-08-25 12:54 ` [PATCH 2/2] staging: rtl8723bs: make rtw_free_xmitbuf() " Hungyu Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox