staging: rtl8192e: Remove unused parameter mesh_flag
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Tue, 3 Oct 2023 19:33:33 +0000 (21:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Oct 2023 07:59:39 +0000 (09:59 +0200)
Remove unused parameter mesh_flag of function
rtllib_softmac_start_protocol().

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/3daa591db70978b305e4a1db7353fd96574d5591.1696360403.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_core.c
drivers/staging/rtl8192e/rtllib.h
drivers/staging/rtl8192e/rtllib_softmac.c

index d01cfca39ef5074671b881e65fb65cbbd3c37a86..9c872819969add4dc697f6f39bbcbe940582d6b4 100644 (file)
@@ -611,7 +611,7 @@ static int _rtl92e_sta_up(struct net_device *dev)
                rtl92e_check_rfctrl_gpio_timer(&priv->gpio_polling_timer);
 
        if (priv->rtllib->link_state != MAC80211_LINKED)
-               rtllib_softmac_start_protocol(priv->rtllib, 0);
+               rtllib_softmac_start_protocol(priv->rtllib);
        rtllib_reset_queue(priv->rtllib);
        _rtl92e_watchdog_timer_cb(&priv->watch_dog_timer);
 
index 41b34331380c6b522677b8ce94e0fd592fe9580e..546eedfeb43eacd25f644ecc1b78e90433fd11f1 100644 (file)
@@ -1705,7 +1705,7 @@ void rtllib_EnableIntelPromiscuousMode(struct net_device *dev, bool bInitState);
 void rtllib_DisableIntelPromiscuousMode(struct net_device *dev,
                                        bool bInitState);
 void rtllib_softmac_stop_protocol(struct rtllib_device *ieee);
-void rtllib_softmac_start_protocol(struct rtllib_device *ieee, u8 mesh_flag);
+void rtllib_softmac_start_protocol(struct rtllib_device *ieee);
 
 void rtllib_reset_queue(struct rtllib_device *ieee);
 void rtllib_wake_all_queues(struct rtllib_device *ieee);
index babd48aa327d0256d1f40ff32098bf515dfd936e..11395dbc9d4dba4abeac787fd5c3ee3e75233229 100644 (file)
@@ -2316,7 +2316,7 @@ void rtllib_stop_protocol(struct rtllib_device *ieee)
        ieee->assocresp_ies_len = 0;
 }
 
-void rtllib_softmac_start_protocol(struct rtllib_device *ieee, u8 mesh_flag)
+void rtllib_softmac_start_protocol(struct rtllib_device *ieee)
 {
        mutex_lock(&ieee->wx_mutex);
        rtllib_start_protocol(ieee);