[PATCH 0/2] staging: rtl8723bs: make xmit buffer free helpers return void

Hungyu Lin posted 2 patches 1 month ago
drivers/staging/rtl8723bs/core/rtw_xmit.c    | 11 ++++-------
drivers/staging/rtl8723bs/include/rtw_xmit.h |  4 ++--
2 files changed, 6 insertions(+), 9 deletions(-)
[PATCH 0/2] staging: rtl8723bs: make xmit buffer free helpers return void
Posted by Hungyu Lin 1 month ago
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