rtl8xxxu: Do not backup RF_MODE_AG when it's never being used
This was expired by the vendor driver, but we never ended up using the backed up value. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
24e8e7ec33
commit
a773720691
|
@ -7667,9 +7667,6 @@ static int rtl8xxxu_init_device(struct ieee80211_hw *hw)
|
|||
if (priv->rtl_chip != RTL8192E)
|
||||
rtl8xxxu_write32(priv, REG_FPGA0_XA_RF_INT_OE, 0x66f60210);
|
||||
|
||||
priv->rf_mode_ag[0] = rtl8xxxu_read_rfreg(priv, RF_A,
|
||||
RF6052_REG_MODE_AG);
|
||||
|
||||
if (!macpower) {
|
||||
/*
|
||||
* Set TX buffer boundary
|
||||
|
|
|
@ -1228,7 +1228,6 @@ struct rtl8xxxu_priv {
|
|||
u8 rf_paths;
|
||||
u8 rx_paths;
|
||||
u8 tx_paths;
|
||||
u32 rf_mode_ag[2];
|
||||
u32 rege94;
|
||||
u32 rege9c;
|
||||
u32 regeb4;
|
||||
|
|
Loading…
Reference in New Issue