summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c2
-rw-r--r--drivers/staging/rtl8192e/rtl8192e/rtl_core.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c
index aafe39e50bd9..ff66a97b8763 100644
--- a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c
+++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c
@@ -603,8 +603,6 @@ void rtl92e_set_tx_power(struct net_device *dev, u8 channel)
ant_pwr_diff = priv->tx_pwr_level_ofdm_24g_c[channel - 1]
- priv->tx_pwr_level_ofdm_24g_a[channel - 1];
- priv->RF_C_TxPwDiff = ant_pwr_diff;
-
ant_pwr_diff &= 0xf;
priv->antenna_tx_pwr_diff[2] = 0;
diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.h b/drivers/staging/rtl8192e/rtl8192e/rtl_core.h
index 12a869a556bb..6662558e56fa 100644
--- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.h
+++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.h
@@ -476,7 +476,6 @@ struct r8192_priv {
u8 tx_pwr_level_ofdm_24g_a[14];
u8 tx_pwr_level_ofdm_24g_c[14];
u8 legacy_ht_tx_pwr_diff;
- s8 RF_C_TxPwDiff;
u8 antenna_tx_pwr_diff[3];
bool dynamic_tx_high_pwr;