Commit 74214e52 authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman
Browse files

staging: rtl8192e: Remove rtl8192_phy_updateInitGain



Function is empty and called only once.

Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c15a7009
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -872,7 +872,6 @@ bool rtl92e_start_adapter(struct net_device *dev)
		}
		RT_TRACE(COMP_INIT, "RF Config Finished!\n");
	}
	rtl8192_phy_updateInitGain(dev);

	rtl92e_set_bb_reg(dev, rFPGA0_RFMOD, bCCKEn, 0x1);
	rtl92e_set_bb_reg(dev, rFPGA0_RFMOD, bOFDMEn, 0x1);
+0 −4
Original line number Diff line number Diff line
@@ -712,10 +712,6 @@ bool rtl92e_config_phy(struct net_device *dev)
	return rtStatus;
}

void rtl8192_phy_updateInitGain(struct net_device *dev)
{
}

u8 rtl92e_config_rf_path(struct net_device *dev, enum rf90_radio_path eRFPath)
{

+0 −1
Original line number Diff line number Diff line
@@ -86,7 +86,6 @@ extern bool rtl92e_config_bb(struct net_device *dev);
extern void rtl92e_get_tx_power(struct net_device *dev);
extern void rtl92e_set_tx_power(struct net_device *dev, u8 channel);
extern bool rtl92e_config_phy(struct net_device *dev);
extern void rtl8192_phy_updateInitGain(struct net_device *dev);
extern u8 rtl92e_config_rf_path(struct net_device *dev,
				enum rf90_radio_path eRFPath);