]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: rtl8723bs: remove unused global efuse variables
authorMarcos Andrade <marcosandrade95963@gmail.com>
Mon, 16 Mar 2026 22:04:35 +0000 (19:04 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2026 15:52:35 +0000 (16:52 +0100)
commit77da49db335dafd38754bc9a59a69a52e08557f3
treeaec14604d5666e2e626eca40b7e89ce9f2bab5b3
parent816e181560e230ea7d0bbb54db82200921e87547
staging: rtl8723bs: remove unused global efuse variables

Remove several global efuse variables from rtw_efuse.c and their
corresponding extern declarations in rtw_efuse.h.

These variables (fakeEfuseBank, BTEfuseUsedBytes, etc.) are completely
unused legacy code. The driver currently maintains the efuse state
properly within the 'efuse_hal' structure, which is encapsulated
inside 'hal_com_data'.

The removal of this dead code cleans up the global namespace and
resolves multiple checkpatch.pl warnings regarding CamelCase naming
conventions. Verified by compilation that no functional code references
these variables.

Signed-off-by: Marcos Andrade <marcosandrade95963@gmail.com>
Reviewed-by: Ethan Tidmore <ethantidmore06@gmail.com>
Link: https://patch.msgid.link/20260316220435.2249-1-marcosandrade95963@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_efuse.c
drivers/staging/rtl8723bs/include/rtw_efuse.h