Remove function dot11d_channel_map() as it is empty. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@xxxxxxxxx> --- drivers/staging/rtl8192e/dot11d.c | 6 ------ drivers/staging/rtl8192e/dot11d.h | 2 -- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 1 - 3 files changed, 9 deletions(-) diff --git a/drivers/staging/rtl8192e/dot11d.c b/drivers/staging/rtl8192e/dot11d.c index 8d89f962b3bf..ec71bae05c1f 100644 --- a/drivers/staging/rtl8192e/dot11d.c +++ b/drivers/staging/rtl8192e/dot11d.c @@ -6,9 +6,3 @@ * wlanfae <wlanfae@xxxxxxxxxxx> ******************************************************************************/ #include "dot11d.h" - -void dot11d_channel_map(struct rtllib_device *ieee) -{ - -} -EXPORT_SYMBOL(dot11d_channel_map); diff --git a/drivers/staging/rtl8192e/dot11d.h b/drivers/staging/rtl8192e/dot11d.h index 98aa28d0cf72..eeefbfa96938 100644 --- a/drivers/staging/rtl8192e/dot11d.h +++ b/drivers/staging/rtl8192e/dot11d.h @@ -18,6 +18,4 @@ * 2 - valid (passive scan) */ -void dot11d_channel_map(struct rtllib_device *ieee); - #endif diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c index 1f45b6b00d1b..72e89ccfb184 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c @@ -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; -- 2.43.0