public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/13] staging: rtl8723bs: Replace function pointers and #if 1
@ 2024-11-03  8:14 Philipp Hortmann
  2024-11-03  8:14 ` [PATCH 01/13] staging: rtl8723bs: Replace function thread_enter Philipp Hortmann
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Philipp Hortmann @ 2024-11-03  8:14 UTC (permalink / raw)
  To: Greg Kroah-Hartman, linux-staging, linux-kernel; +Cc: Philipp Hortmann

Replace function pointers with functions to increase readability.
Remove dead code resulting from #if 1.
Replace one function that just contains one line to increase readability.

Tested with rtl8723bs in ODYS Trendbook Next 14

Philipp Hortmann (13):
  staging: rtl8723bs: Replace function thread_enter
  staging: rtl8723bs: Remove #if 1 in function
    hal_EfusePartialWriteCheck
  staging: rtl8723bs: Remove #if 1 in function
    hal_EfuseGetCurrentSize_BT
  staging: rtl8723bs: Remove #if 1 in function ReadChipVersion8723B
  staging: rtl8723bs: Remove function pointer check_ips_status
  staging: rtl8723bs: Remove function pointer SetHwRegHandler
  staging: rtl8723bs: Remove function pointer GetHwRegHandler
  staging: rtl8723bs: Remove function pointer SetHwRegHandlerWithBuf
  staging: rtl8723bs: Remove function pointer GetHalDefVarHandler
  staging: rtl8723bs: Remove function pointer SetHalDefVarHandler
  staging: rtl8723bs: Remove function pointer hal_xmit
  staging: rtl8723bs: Remove function pointer mgnt_xmit
  staging: rtl8723bs: Remove function pointer hal_xmitframe_enqueue

 drivers/staging/rtl8723bs/core/rtw_cmd.c      |  2 +-
 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c |  2 +-
 .../staging/rtl8723bs/core/rtw_wlan_util.c    |  4 +-
 drivers/staging/rtl8723bs/core/rtw_xmit.c     |  2 +-
 drivers/staging/rtl8723bs/hal/hal_intf.c      | 40 ++-------
 .../staging/rtl8723bs/hal/rtl8723b_hal_init.c | 85 +------------------
 .../staging/rtl8723bs/hal/rtl8723bs_xmit.c    |  4 +-
 drivers/staging/rtl8723bs/hal/sdio_halinit.c  | 21 ++---
 drivers/staging/rtl8723bs/include/hal_intf.h  | 22 ++---
 .../staging/rtl8723bs/include/osdep_service.h |  5 --
 10 files changed, 27 insertions(+), 160 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2024-11-03  8:15 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-03  8:14 [PATCH 00/13] staging: rtl8723bs: Replace function pointers and #if 1 Philipp Hortmann
2024-11-03  8:14 ` [PATCH 01/13] staging: rtl8723bs: Replace function thread_enter Philipp Hortmann
2024-11-03  8:14 ` [PATCH 02/13] staging: rtl8723bs: Remove #if 1 in function hal_EfusePartialWriteCheck Philipp Hortmann
2024-11-03  8:14 ` [PATCH 03/13] staging: rtl8723bs: Remove #if 1 in function hal_EfuseGetCurrentSize_BT Philipp Hortmann
2024-11-03  8:14 ` [PATCH 04/13] staging: rtl8723bs: Remove #if 1 in function ReadChipVersion8723B Philipp Hortmann
2024-11-03  8:14 ` [PATCH 05/13] staging: rtl8723bs: Remove function pointer check_ips_status Philipp Hortmann
2024-11-03  8:14 ` [PATCH 06/13] staging: rtl8723bs: Remove function pointer SetHwRegHandler Philipp Hortmann
2024-11-03  8:14 ` [PATCH 07/13] staging: rtl8723bs: Remove function pointer GetHwRegHandler Philipp Hortmann
2024-11-03  8:14 ` [PATCH 08/13] staging: rtl8723bs: Remove function pointer SetHwRegHandlerWithBuf Philipp Hortmann
2024-11-03  8:14 ` [PATCH 09/13] staging: rtl8723bs: Remove function pointer GetHalDefVarHandler Philipp Hortmann
2024-11-03  8:14 ` [PATCH 10/13] staging: rtl8723bs: Remove function pointer SetHalDefVarHandler Philipp Hortmann
2024-11-03  8:14 ` [PATCH 11/13] staging: rtl8723bs: Remove function pointer hal_xmit Philipp Hortmann
2024-11-03  8:14 ` [PATCH 12/13] staging: rtl8723bs: Remove function pointer mgnt_xmit Philipp Hortmann
2024-11-03  8:14 ` [PATCH 13/13] staging: rtl8723bs: Remove function pointer hal_xmitframe_enqueue Philipp Hortmann

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