staging: rtl8723bs: remove unnecessary braces
PATCH 1/1 staging: rtl8723bs: remove unnecessary braces
Remove unnecessary braces around a single-statement 'if' block in HalPhyRf.c. This resolves the following checkpatch warning:
"WARNING: braces {} are not necessary for single statement blocks"
Signed-off-by Mohammed Momin <[email protected]>
--- drivers/staging/rtl8723bs/hal/HalPhyRf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/rtl8723bs/hal/HalPhyRf.c +1 -2
@@ -117,9 +117,8 @@ void ODM_TXPowerTrackingCallback_ThermalMeter(struct adapter *Adapter) }/* Calculate Average ThermalValue after average enough times */ -if (ThermalValue_AVG_count) { +if (ThermalValue_AVG_count) ThermalValue = (u8)(ThermalValue_AVG / ThermalValue_AVG_count); - }/* 4 5. Calculate delta, delta_LCK */ /* delta" here is used to determine whether thermal value changes or not. */
Signature · 1 line
2.55.0