Skip to content

Commit ea1d834

Browse files
mistraubegregkh
authored andcommitted
staging: rtl8723bs: hw_var_port_switch is empty
The function hw_var_port_switch is empty, remove it. Signed-off-by: Michael Straube <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 2d9e220 commit ea1d834

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

drivers/staging/rtl8723bs/hal/hal_com.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -569,19 +569,12 @@ void rtw_hal_update_sta_rate_mask(struct adapter *padapter, struct sta_info *pst
569569
psta->init_rate = get_highest_rate_idx(tx_ra_bitmap)&0x3f;
570570
}
571571

572-
void hw_var_port_switch(struct adapter *adapter)
573-
{
574-
}
575-
576572
void SetHwReg(struct adapter *adapter, u8 variable, u8 *val)
577573
{
578574
struct hal_com_data *hal_data = GET_HAL_DATA(adapter);
579575
struct dm_odm_t *odm = &(hal_data->odmpriv);
580576

581577
switch (variable) {
582-
case HW_VAR_PORT_SWITCH:
583-
hw_var_port_switch(adapter);
584-
break;
585578
case HW_VAR_INIT_RTS_RATE:
586579
rtw_warn_on(1);
587580
break;

drivers/staging/rtl8723bs/include/hal_com.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,6 @@ s32 c2h_evt_read_88xx(struct adapter *adapter, u8 *buf);
134134
u8 rtw_get_mgntframe_raid(struct adapter *adapter, unsigned char network_type);
135135
void rtw_hal_update_sta_rate_mask(struct adapter *padapter, struct sta_info *psta);
136136

137-
void hw_var_port_switch(struct adapter *adapter);
138-
139137
void SetHwReg(struct adapter *padapter, u8 variable, u8 *val);
140138
void GetHwReg(struct adapter *padapter, u8 variable, u8 *val);
141139
void rtw_hal_check_rxfifo_full(struct adapter *adapter);

0 commit comments

Comments
 (0)