staging: rtl8192e: Remove function dot11d_channel_map()
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Fri, 8 Dec 2023 18:19:57 +0000 (19:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 Dec 2023 14:07:07 +0000 (15:07 +0100)
Remove function dot11d_channel_map() as it is empty.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/877c0efcf56977cbf0943b34beda4ff2ca514714.1701989555.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/dot11d.c
drivers/staging/rtl8192e/dot11d.h
drivers/staging/rtl8192e/rtl8192e/rtl_core.c

index 8d89f962b3bf4064246876cbff31b3586fdb9811..ec71bae05c1f0ecab6ec47b7081752c974000d24 100644 (file)
@@ -6,9 +6,3 @@
  * wlanfae <wlanfae@realtek.com>
  ******************************************************************************/
 #include "dot11d.h"
-
-void dot11d_channel_map(struct rtllib_device *ieee)
-{
-
-}
-EXPORT_SYMBOL(dot11d_channel_map);
index 98aa28d0cf72139566f90f187e7a805100c94506..eeefbfa96938e8d44aa8c53dade393ccff020543 100644 (file)
@@ -18,6 +18,4 @@
  *             2 - valid (passive scan)
  */
 
-void dot11d_channel_map(struct rtllib_device *ieee);
-
 #endif
index 1f45b6b00d1b2002c6867387bacac42f2dc8e4af..72e89ccfb18403466b92c7370b6f6d7cb4c7ffbf 100644 (file)
@@ -761,7 +761,6 @@ static short _rtl92e_get_channel_map(struct net_device *dev)
 
        struct r8192_priv *priv = rtllib_priv(dev);
 
-       dot11d_channel_map(priv->rtllib);
        for (i = 1; i <= 11; i++)
                (priv->rtllib->active_channel_map)[i] = 1;
        (priv->rtllib->active_channel_map)[12] = 2;