mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-22 03:00:30 -05:00
staging: rtl8723bs: hw_var_port_switch is empty
The function hw_var_port_switch is empty, remove it. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20250722074115.35044-6-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
2d9e220836
commit
ea1d8343a6
@@ -569,19 +569,12 @@ void rtw_hal_update_sta_rate_mask(struct adapter *padapter, struct sta_info *pst
|
||||
psta->init_rate = get_highest_rate_idx(tx_ra_bitmap)&0x3f;
|
||||
}
|
||||
|
||||
void hw_var_port_switch(struct adapter *adapter)
|
||||
{
|
||||
}
|
||||
|
||||
void SetHwReg(struct adapter *adapter, u8 variable, u8 *val)
|
||||
{
|
||||
struct hal_com_data *hal_data = GET_HAL_DATA(adapter);
|
||||
struct dm_odm_t *odm = &(hal_data->odmpriv);
|
||||
|
||||
switch (variable) {
|
||||
case HW_VAR_PORT_SWITCH:
|
||||
hw_var_port_switch(adapter);
|
||||
break;
|
||||
case HW_VAR_INIT_RTS_RATE:
|
||||
rtw_warn_on(1);
|
||||
break;
|
||||
|
||||
@@ -134,8 +134,6 @@ s32 c2h_evt_read_88xx(struct adapter *adapter, u8 *buf);
|
||||
u8 rtw_get_mgntframe_raid(struct adapter *adapter, unsigned char network_type);
|
||||
void rtw_hal_update_sta_rate_mask(struct adapter *padapter, struct sta_info *psta);
|
||||
|
||||
void hw_var_port_switch(struct adapter *adapter);
|
||||
|
||||
void SetHwReg(struct adapter *padapter, u8 variable, u8 *val);
|
||||
void GetHwReg(struct adapter *padapter, u8 variable, u8 *val);
|
||||
void rtw_hal_check_rxfifo_full(struct adapter *adapter);
|
||||
|
||||
Reference in New Issue
Block a user