]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: rtl8723bs: remove bWrite from Hal_EfusePowerSwitch
authorMichael Straube <straube.linux@gmail.com>
Sun, 24 Aug 2025 09:58:28 +0000 (11:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Sep 2025 13:55:48 +0000 (15:55 +0200)
commit236faa3b92d33652233bce1136e043703a71d1d6
treea32d7567135195bc8d7be344b4e32985e67a17c5
parent009798ff04f752a5d820c9341f1d2269672393f9
staging: rtl8723bs: remove bWrite from Hal_EfusePowerSwitch

The function Hal_EfusePowerSwitch is always called with bWrite set to
false. Remove the pWrite parameter and reomve resulting dead code to reduce
code complexity.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Trendbook Next 14
Link: https://lore.kernel.org/r/20250824095830.79233-3-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_efuse.c
drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
drivers/staging/rtl8723bs/include/hal_intf.h