rtlwifi: fix gcc-6 indentation warning
authorArnd Bergmann <arnd@arndb.de>
Thu, 17 Mar 2016 10:03:50 +0000 (11:03 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 23 Mar 2016 15:52:56 +0000 (17:52 +0200)
commit2acd846485549655582ee379ceb966206f91e6f8
tree08c572a5b831783610405be4f7f40f9ce3d819f9
parentc58d900cc96a5106e2feaed8d3d7361669a91396
rtlwifi: fix gcc-6 indentation warning

The rtl8821ae_dm_txpower_tracking_callback_thermalmeter function
contains a call to RT_TRACE() that is indented in a misleading
way, as pointed out by a gcc-6 warning:

drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c: In function 'rtl8821ae_dm_txpower_tracking_callback_thermalmeter':
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c:2491:4: error: statement is indented as if it were guarded by...
    RT_TRACE(rtlpriv, COMP_POWER_TRACKING, DBG_LOUD,
    ^~~~~~~~
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c:2488:3: note: ...this 'for' clause, but it is not
   for (p = RF90_PATH_A; p < MAX_PATH_NUM_8821A; p++)
   ^~~

It is clear from the context that the call was not meant to be
part of the loop and only the indentation is wrong, so this
removes the extra tabs.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c
This page took 0.026877 seconds and 5 git commands to generate.