]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: rtl8723bs: hal: rtl8723b_phycfg.c: Remove unnecessary parentheses
authorPayal Kshirsagar <payal.s.kshirsagar.98@gmail.com>
Sat, 30 Mar 2019 05:12:41 +0000 (10:42 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Mar 2019 08:28:33 +0000 (09:28 +0100)
Challenge suggested by coccinelle.
Remove unnecessary parentheses around an expression.

Signed-off-by: Payal Kshirsagar <payal.s.kshirsagar.98@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c

index 78a4828ecb6534efa04eae79d633f16e0ccc0f8c..0fd7a9ae40cb007d5cad14c07318a62d320d7bd4 100644 (file)
@@ -827,7 +827,7 @@ static u8 phy_GetSecondaryChnl_8723B(struct adapter *Adapter)
        }
 
        RT_TRACE(_module_hal_init_c_, _drv_info_, ("SCMapping: SC Value %x\n", ((SCSettingOf40 << 4) | SCSettingOf20)));
-       return  ((SCSettingOf40 << 4) | SCSettingOf20);
+       return  (SCSettingOf40 << 4) | SCSettingOf20;
 }
 
 static void phy_PostSetBwMode8723B(struct adapter *Adapter)