staging: rtl8192e: Remove dead code associated with CONFIG_FW_SETCHAN
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 15 Jul 2011 02:58:52 +0000 (21:58 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 02:29:58 +0000 (21:29 -0500)
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/rtl_core.c

index babaf27..2a842f4 100644 (file)
@@ -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
 }