staging: r8188eu: remove empty trigger gpio code
The hal variable HW_VAR_TRIGGER_GPIO_0 and the rtl8192cu_trigger_gpio_0 function are not used. Remove them. Acked-by: Michael Straube <straube.linux@gmail.com> Acked-by: Phillip Potter <phil@philpotter.co.uk> Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20211016113008.27549-2-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
78a689b6a0
commit
ec23d22546
@ -1087,11 +1087,6 @@ void ReadAdapterInfo8188EU(struct adapter *Adapter)
|
||||
_ReadAdapterInfo8188EU(Adapter);
|
||||
}
|
||||
|
||||
#define GPIO_DEBUG_PORT_NUM 0
|
||||
static void rtl8192cu_trigger_gpio_0(struct adapter *adapt)
|
||||
{
|
||||
}
|
||||
|
||||
static void ResumeTxBeacon(struct adapter *adapt)
|
||||
{
|
||||
struct hal_data_8188e *haldata = GET_HAL_DATA(adapt);
|
||||
@ -1657,9 +1652,6 @@ void SetHwReg8188EU(struct adapter *Adapter, u8 variable, u8 *val)
|
||||
}
|
||||
}
|
||||
break;
|
||||
case HW_VAR_TRIGGER_GPIO_0:
|
||||
rtl8192cu_trigger_gpio_0(Adapter);
|
||||
break;
|
||||
case HW_VAR_RPT_TIMER_SETTING:
|
||||
{
|
||||
u16 min_rpt_time = (*(u16 *)val);
|
||||
|
@ -55,7 +55,6 @@ enum hw_variables {
|
||||
HW_VAR_TDLS_RS_RCR,
|
||||
HW_VAR_TDLS_DONE_CH_SEN,
|
||||
HW_VAR_INITIAL_GAIN,
|
||||
HW_VAR_TRIGGER_GPIO_0,
|
||||
HW_VAR_BT_SET_COEXIST,
|
||||
HW_VAR_BT_ISSUE_DELBA,
|
||||
HW_VAR_CURRENT_ANTENNA,
|
||||
|
Loading…
Reference in New Issue
Block a user