mirror of https://gitee.com/openkylin/linux.git
rtlwifi: rtl8188ee: Fix Smatch warnings
Smatch reports the following: CHECK drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c:1140 rtl88e_dm_check_txpower_tracking() warn: inconsistent indenting CHECK drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c:1906 _rtl88e_phy_lc_calibrate() warn: inconsistent indenting Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
2e074fab34
commit
844026f609
|
@ -1137,7 +1137,7 @@ void rtl88e_dm_check_txpower_tracking(struct ieee80211_hw *hw)
|
|||
} else {
|
||||
RT_TRACE(rtlpriv, COMP_POWER_TRACKING, DBG_LOUD,
|
||||
"Schedule TxPowerTracking !!\n");
|
||||
dm_txpower_track_cb_therm(hw);
|
||||
dm_txpower_track_cb_therm(hw);
|
||||
rtlpriv->dm.tm_trigger = 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1903,8 +1903,7 @@ static void _rtl88e_phy_lc_calibrate(struct ieee80211_hw *hw, bool is2t)
|
|||
} else {
|
||||
rtl_write_byte(rtlpriv, REG_TXPAUSE, 0x00);
|
||||
}
|
||||
RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD, "\n");
|
||||
|
||||
RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD, "\n");
|
||||
}
|
||||
|
||||
static void _rtl88e_phy_set_rfpath_switch(struct ieee80211_hw *hw,
|
||||
|
|
Loading…
Reference in New Issue