staging: rtl8192e: Remove function dot11d_channel_map()

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>
This commit is contained in:
Philipp Hortmann
2023-12-08 19:19:57 +01:00
committed by Greg Kroah-Hartman
parent 0c2d3ca560
commit 2cdfd6dc0f
3 changed files with 0 additions and 9 deletions

View 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);

View File

@@ -18,6 +18,4 @@
* 2 - valid (passive scan)
*/
void dot11d_channel_map(struct rtllib_device *ieee);
#endif

View 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;