This patch removes the unused code inside #ifdef RTL8190P and #ifdef RTL8192E
guards since RTL8190P and RTL8192E are not defined.

Signed-off-by: Xenia Ragiadakou <burzalod...@gmail.com>
---
 drivers/staging/rtl8192u/r819xU_phy.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/staging/rtl8192u/r819xU_phy.c 
b/drivers/staging/rtl8192u/r819xU_phy.c
index a6fac08..17ac120 100644
--- a/drivers/staging/rtl8192u/r819xU_phy.c
+++ b/drivers/staging/rtl8192u/r819xU_phy.c
@@ -1799,12 +1799,6 @@ extern void InitialGainOperateWorkItemCallBack(struct 
work_struct *work)
                RT_TRACE(COMP_SCAN, "Scan BBInitialGainRestore 0xa0a is %x\n",
                         priv->initgain_backup.cca);
 
-#ifdef RTL8190P
-               SetTxPowerLevel8190(Adapter, priv->CurrentChannel);
-#endif
-#ifdef RTL8192E
-               SetTxPowerLevel8190(Adapter, priv->CurrentChannel);
-#endif
                rtl8192_phy_setTxPower(dev, 
priv->ieee80211->current_network.channel);
 
                if (dm_digtable.dig_algorithm == DIG_ALGO_BY_FALSE_ALARM)
-- 
1.8.3.4

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to