]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 babaf27e8f4278912b2dd33c77a006039d5c5432..2a842f425564763f6facf143d1ca61af94da5a59 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
 }