mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
staging: rtl8723bs: Remove function pointer free_hal_data
Remove function pointer free_hal_data and function rtl8723b_free_hal_data as it is dead code. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/455b7a4645e6652815020635a7b34e56c2b96423.1727966761.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1ce42b5fe4
commit
ac1b9999bf
|
|
@ -35,9 +35,6 @@ void rtw_hal_free_data(struct adapter *padapter)
|
|||
{
|
||||
/* free HAL Data */
|
||||
rtw_hal_data_deinit(padapter);
|
||||
|
||||
if (padapter->HalFunc.free_hal_data)
|
||||
padapter->HalFunc.free_hal_data(padapter);
|
||||
}
|
||||
|
||||
void rtw_hal_dm_init(struct adapter *padapter)
|
||||
|
|
|
|||
|
|
@ -439,10 +439,6 @@ void rtl8723b_InitializeFirmwareVars(struct adapter *padapter)
|
|||
/* pHalData->H2CStopInsertQueue = false; */
|
||||
}
|
||||
|
||||
static void rtl8723b_free_hal_data(struct adapter *padapter)
|
||||
{
|
||||
}
|
||||
|
||||
/* */
|
||||
/* Efuse related code */
|
||||
/* */
|
||||
|
|
@ -1827,8 +1823,6 @@ static void UpdateHalRAMask8723B(struct adapter *padapter, u32 mac_id, u8 rssi_l
|
|||
|
||||
void rtl8723b_set_hal_ops(struct hal_ops *pHalFunc)
|
||||
{
|
||||
pHalFunc->free_hal_data = &rtl8723b_free_hal_data;
|
||||
|
||||
pHalFunc->dm_init = &rtl8723b_init_dm_priv;
|
||||
|
||||
pHalFunc->read_chip_version = &rtl8723b_read_chip_version;
|
||||
|
|
|
|||
|
|
@ -162,8 +162,6 @@ enum hal_intf_ps_func {
|
|||
typedef s32 (*c2h_id_filter)(u8 *c2h_evt);
|
||||
|
||||
struct hal_ops {
|
||||
void (*free_hal_data)(struct adapter *padapter);
|
||||
|
||||
s32 (*init_xmit_priv)(struct adapter *padapter);
|
||||
void (*free_xmit_priv)(struct adapter *padapter);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user