From: Larry Finger Date: Fri, 15 Jul 2011 02:58:52 +0000 (-0500) Subject: staging: rtl8192e: Remove dead code associated with CONFIG_FW_SETCHAN X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ff02d6bf972254710aa41dfdafab1d8ede3083a8;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8192e: Remove dead code associated with CONFIG_FW_SETCHAN Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl_core.c index babaf27e8f42..2a842f425564 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 }