linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/14] staging: rtl8723bs: clean up efuse related code
@ 2025-08-23 12:43 Michael Straube
  2025-08-23 12:43 ` [PATCH 01/14] staging: rtl8723bs: remove bPseudoTest from EFUSE_ShadowMapUpdate Michael Straube
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: Michael Straube @ 2025-08-23 12:43 UTC (permalink / raw)
  To: gregkh; +Cc: hdegoede, Larry.Finger, linux-staging, linux-kernel,
	Michael Straube

This series removes the boolean parameter bPseudoTest from efuse stuff
related functions. As this parameter is always set to false in the driver,
we can safely remove it. Besides improved readability and decreased code
complexity, removing the bPseudoTest parameter allowed for getting rid of
a lot of dead code. In total, this series reduced the object file size by
more than 1100 bytes on my system.

The patches have been compile-tested only due to lack of hardware.

Michael Straube (14):
  staging: rtl8723bs: remove bPseudoTest from EFUSE_ShadowMapUpdate
  staging: rtl8723bs: make Efuse_ReadAllMap static
  staging: rtl8723bs: remove bPseudoTest from Efuse_ReadAllMap
  staging: rtl8723bs: remove wrapper efuse_ReadEFuse
  staging: rtl8723bs: remove bPseudoTest from Hal_ReadEFuse
  staging: rtl8723bs: remove bPseudoTest from hal_ReadEFuse_WiFi
  staging: rtl8723bs: remove bPseudoTest from hal_ReadEFuse_BT
  staging: rtl8723bs: remove wrapper EFUSE_GetEfuseDefinition
  staging: rtl8723bs: remove bPseudoTest from Hal_GetEfuseDefinition
  staging: rtl8723bs: remove Hal_EfuseGetCurrentSize
  staging: rtl8723bs: remove bPseudoTest from hal_EfuseSwitchToBank
  staging: rtl8723bs: clean up variable initializations
  staging: rtl8723bs: remove bPseudoTest from efuse_OneByteRead
  staging: rtl8723bs: remove efuse_OneByteWrite

 drivers/staging/rtl8723bs/core/rtw_efuse.c    | 138 +-------
 .../staging/rtl8723bs/hal/rtl8723b_hal_init.c | 326 +++---------------
 drivers/staging/rtl8723bs/include/hal_intf.h  |   5 +-
 drivers/staging/rtl8723bs/include/rtw_efuse.h |   6 +-
 4 files changed, 62 insertions(+), 413 deletions(-)

-- 
2.51.0


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

end of thread, other threads:[~2025-08-23 12:43 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-23 12:43 [PATCH 00/14] staging: rtl8723bs: clean up efuse related code Michael Straube
2025-08-23 12:43 ` [PATCH 01/14] staging: rtl8723bs: remove bPseudoTest from EFUSE_ShadowMapUpdate Michael Straube
2025-08-23 12:43 ` [PATCH 02/14] staging: rtl8723bs: make Efuse_ReadAllMap static Michael Straube
2025-08-23 12:43 ` [PATCH 03/14] staging: rtl8723bs: remove bPseudoTest from Efuse_ReadAllMap Michael Straube
2025-08-23 12:43 ` [PATCH 04/14] staging: rtl8723bs: remove wrapper efuse_ReadEFuse Michael Straube
2025-08-23 12:43 ` [PATCH 05/14] staging: rtl8723bs: remove bPseudoTest from Hal_ReadEFuse Michael Straube
2025-08-23 12:43 ` [PATCH 06/14] staging: rtl8723bs: remove bPseudoTest from hal_ReadEFuse_WiFi Michael Straube
2025-08-23 12:43 ` [PATCH 07/14] staging: rtl8723bs: remove bPseudoTest from hal_ReadEFuse_BT Michael Straube
2025-08-23 12:43 ` [PATCH 08/14] staging: rtl8723bs: remove wrapper EFUSE_GetEfuseDefinition Michael Straube
2025-08-23 12:43 ` [PATCH 09/14] staging: rtl8723bs: remove bPseudoTest from Hal_GetEfuseDefinition Michael Straube
2025-08-23 12:43 ` [PATCH 10/14] staging: rtl8723bs: remove Hal_EfuseGetCurrentSize Michael Straube
2025-08-23 12:43 ` [PATCH 11/14] staging: rtl8723bs: remove bPseudoTest from hal_EfuseSwitchToBank Michael Straube
2025-08-23 12:43 ` [PATCH 12/14] staging: rtl8723bs: clean up variable initializations Michael Straube
2025-08-23 12:43 ` [PATCH 13/14] staging: rtl8723bs: remove bPseudoTest from efuse_OneByteRead Michael Straube
2025-08-23 12:43 ` [PATCH 14/14] staging: rtl8723bs: remove efuse_OneByteWrite Michael Straube

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).