Commit edc332a9 authored by Philipp Hortmann's avatar Philipp Hortmann Committed by Greg Kroah-Hartman

staging: rtl8192e: Remove unused function _rtl92e_dm_init_wa_broadcom_iot

Remove unused function _rtl92e_dm_init_wa_broadcom_iot and the variables
that are not any longer used.
Signed-off-by: default avatarPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/0e7a2a5b9edc85b7f8e3fc0f9e0e6ab7f2830d02.1680902603.git.philipp.g.hortmann@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 748b5db6
...@@ -173,7 +173,6 @@ static void _rtl92e_dm_pd_th(struct net_device *dev); ...@@ -173,7 +173,6 @@ static void _rtl92e_dm_pd_th(struct net_device *dev);
static void _rtl92e_dm_cs_ratio(struct net_device *dev); static void _rtl92e_dm_cs_ratio(struct net_device *dev);
static void _rtl92e_dm_init_cts_to_self(struct net_device *dev); static void _rtl92e_dm_init_cts_to_self(struct net_device *dev);
static void _rtl92e_dm_init_wa_broadcom_iot(struct net_device *dev);
static void _rtl92e_dm_check_edca_turbo(struct net_device *dev); static void _rtl92e_dm_check_edca_turbo(struct net_device *dev);
static void _rtl92e_dm_check_rx_path_selection(struct net_device *dev); static void _rtl92e_dm_check_rx_path_selection(struct net_device *dev);
...@@ -1531,16 +1530,6 @@ static void _rtl92e_dm_cts_to_self(struct net_device *dev) ...@@ -1531,16 +1530,6 @@ static void _rtl92e_dm_cts_to_self(struct net_device *dev)
} }
} }
static void _rtl92e_dm_init_wa_broadcom_iot(struct net_device *dev)
{
struct r8192_priv *priv = rtllib_priv((struct net_device *)dev);
struct rt_hi_throughput *ht_info = priv->rtllib->ht_info;
ht_info->bWAIotBroadcom = false;
ht_info->WAIotTH = WA_IOT_TH_VAL;
}
static void _rtl92e_dm_check_rf_ctrl_gpio(void *data) static void _rtl92e_dm_check_rf_ctrl_gpio(void *data)
{ {
struct r8192_priv *priv = container_of_dwork_rsl(data, struct r8192_priv *priv = container_of_dwork_rsl(data,
......
...@@ -162,9 +162,6 @@ struct rt_hi_throughput { ...@@ -162,9 +162,6 @@ struct rt_hi_throughput {
u8 IOTPeer; u8 IOTPeer;
u32 iot_action; u32 iot_action;
u8 iot_ra_func; u8 iot_ra_func;
u8 bWAIotBroadcom;
u8 WAIotTH;
} __packed; } __packed;
struct bss_ht { struct bss_ht {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment