Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5c447cc authored by Jes Sorensen's avatar Jes Sorensen Committed by Kalle Valo
Browse files

rtl8xxxu: Remove unused clutter for handling recursive calls to rtl8xxxu_init_device()



This was a leftover from the vendor driver that was never utilized.

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent ce6f2e36
Loading
Loading
Loading
Loading
+1 −11
Original line number Diff line number Diff line
@@ -4289,17 +4289,7 @@ static int rtl8xxxu_init_device(struct ieee80211_hw *hw)

	rtl8xxxu_write16(priv, REG_FAST_EDCA_CTRL, 0);

	/*
	 * Not sure if we should get into this at all
	 */
	if (priv->iqk_initialized) {
		rtl8xxxu_restore_regs(priv, rtl8723au_iqk_phy_iq_bb_reg,
				      priv->bb_recovery_backup,
				      RTL8XXXU_BB_REGS);
	} else {
	rtl8723a_phy_iq_calibrate(priv);
		priv->iqk_initialized = true;
	}

	/*
	 * This should enable thermal meter
+0 −1
Original line number Diff line number Diff line
@@ -652,7 +652,6 @@ struct rtl8xxxu_priv {
	u32 bb_recovery_backup[RTL8XXXU_BB_REGS];
	u32 rtlchip;
	u8 pi_enabled:1;
	u8 iqk_initialized:1;
	u8 int_buf[USB_INTR_CONTENT_LENGTH];
};