[PATCH 55/61] staging: rtl8192e: Remove dead code associated with CONFIG_FW_SETCHAN

Larry Finger Larry.Finger at lwfinger.net
Wed Aug 24 03:45:06 UTC 2011


Signed-off-by: Larry Finger <Larry.Finger at lwfinger.net>
---
 drivers/staging/rtl8192e/rtl_core.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl_core.c
index babaf27..2a842f4 100644
--- a/drivers/staging/rtl8192e/rtl_core.c
+++ b/drivers/staging/rtl8192e/rtl_core.c
@@ -566,10 +566,6 @@ void rtl8192_set_chan(struct net_device *dev,short ch)
     if (priv->rf_set_chan)
         priv->rf_set_chan(dev,priv->chan);
 
-#ifdef CONFIG_FW_SETCHAN
-    priv->rtllib->SetFwCmdHandler(dev, FW_CMD_CHAN_SET);
-#endif
-
 #endif
 }
 
-- 
1.7.3.4




More information about the devel mailing list