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

staging: rtl8192e: Remove function dot11d_channel_map()

Remove function dot11d_channel_map() as it is empty.
Signed-off-by: default avatarPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/877c0efcf56977cbf0943b34beda4ff2ca514714.1701989555.git.philipp.g.hortmann@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0c2d3ca5
......@@ -6,9 +6,3 @@
* wlanfae <wlanfae@realtek.com>
******************************************************************************/
#include "dot11d.h"
void dot11d_channel_map(struct rtllib_device *ieee)
{
}
EXPORT_SYMBOL(dot11d_channel_map);
......@@ -18,6 +18,4 @@
* 2 - valid (passive scan)
*/
void dot11d_channel_map(struct rtllib_device *ieee);
#endif
......@@ -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;
......
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