staging: rtl8192e: Remove _rtl92e_silent_reset_mesh
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 19:04:29 +0000 (21:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:26:07 +0000 (04:26 +0200)
Function is empty.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_core.c

index d4cef203213c84cc132a8410e2f6cef95e0b1d2b..2e3c25c37e3682b52e7975ef2e84811ebcad4d63 100644 (file)
@@ -1223,10 +1223,6 @@ static enum reset_type _rtl92e_if_check_reset(struct net_device *dev)
 
 }
 
-static void _rtl92e_silent_reset_mesh(struct net_device *dev, u8 IsPortal)
-{
-}
-
 static void _rtl92e_if_silent_reset(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
@@ -1235,9 +1231,6 @@ static void _rtl92e_if_silent_reset(struct net_device *dev)
        struct rtllib_device *ieee = priv->rtllib;
        unsigned long flag;
 
-       u8 IsPortal = 0;
-
-
        if (priv->ResetProgress == RESET_TYPE_NORESET) {
 
                RT_TRACE(COMP_RESET, "=========>Reset progress!!\n");
@@ -1347,8 +1340,6 @@ RESET_START:
                        rtllib_start_send_beacons(ieee);
 
                        netif_carrier_on(ieee->dev);
-               } else if (ieee->iw_mode == IW_MODE_MESH) {
-                       _rtl92e_silent_reset_mesh(dev, IsPortal);
                }
 
                rtl92e_cam_restore(dev);