rtlwifi: Neaten RT_ASSERT, RT_TRACE, RTPRINT, RT_PRINT_DATA macros
Make the macros a bit more readable. Use do {...} while (0) without terminating semicolons. Add missing terminating semicolon to a few uses. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
3084f3b65c
commit
884dd24499
@@ -1617,7 +1617,7 @@ static void _rtl92de_read_txpower_info(struct ieee80211_hw *hw,
|
||||
RT_TRACE(rtlpriv, COMP_INIT, DBG_DMESG,
|
||||
("Is D cut,Internal PA0 %d Internal PA1 %d\n",
|
||||
rtlefuse->internal_pa_5g[0],
|
||||
rtlefuse->internal_pa_5g[1]))
|
||||
rtlefuse->internal_pa_5g[1]));
|
||||
}
|
||||
rtlefuse->eeprom_c9 = hwinfo[EEPROM_RF_OPT6];
|
||||
rtlefuse->eeprom_cc = hwinfo[EEPROM_RF_OPT7];
|
||||
|
Reference in New Issue
Block a user