Remove unnecessary parentheses around the right hand side of assignment
operator. Issue found using Coccinelle.
Signed-off-by: Himadri Pandya <himadri18.07@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
int_distance = (fc >= f_interference) ? (fc - f_interference) :
(f_interference - fc);
tone_idx_tmp =
- (int_distance << 5); /* =10*(int_distance /0.3125) */
+ int_distance << 5; /* =10*(int_distance /0.3125) */
ODM_RT_TRACE(
dm, ODM_COMP_API,
"int_distance = ((%d MHz)) Mhz, tone_idx_tmp = ((%d.%d))\n",
if (undecorated_smoothed_pwdb <= 0) {
accumulate_pwdb =
- (phy_info->rx_pwdb_all << scaling_factor);
+ phy_info->rx_pwdb_all << scaling_factor;
undecorated_smoothed_pwdb = phy_info->rx_pwdb_all;
} else {
accumulate_pwdb = accumulate_pwdb -