staging: rtl8723bs: remove redundant ReadChipVersion8723B wrapper

Collapse the static CamelCase helper function ReadChipVersion8723B()
directly into the main rtl8723b_read_chip_version() function.
This removes unnecessary code nesting and cleans up the CamelCase
naming violation in a single atomic change.

Signed-off-by: Arsenii Pashchenko <ulijg308@gmail.com>
Link: https://patch.msgid.link/20260718041431.9174-1-ulijg308@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Arsenii Pashchenko 2026-07-18 11:14:31 +07:00 committed by Greg Kroah-Hartman
parent 42bf3094c3
commit ea07d5985c

View File

@ -819,7 +819,7 @@ void Hal_ReadEFuse(
hal_ReadEFuse_BT(padapter, _offset, _size_byte, pbuf);
}
static void ReadChipVersion8723B(struct adapter *padapter)
void rtl8723b_read_chip_version(struct adapter *padapter)
{
u32 value32;
struct hal_com_data *pHalData;
@ -831,11 +831,6 @@ static void ReadChipVersion8723B(struct adapter *padapter)
pHalData->chip_normal = ((value32 & RTL_ID) ? false : true);
}
void rtl8723b_read_chip_version(struct adapter *padapter)
{
ReadChipVersion8723B(padapter);
}
void rtl8723b_InitBeaconParameters(struct adapter *padapter)
{
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);