DMIC: remove parentheses around the right hand side of assignments

Avoid useless parentheses to the right hand side of an assignment.
Change suggested by coccinelle.

Signed-off-by: Payal Kshirsagar <payalskshirsagar1234@gmail.com>
This commit is contained in:
Payal Kshirsagar 2020-03-24 12:10:42 +05:30 committed by Janusz Jankowski
parent f755277000
commit 11b9ca19cb
1 changed files with 2 additions and 2 deletions

View File

@ -517,9 +517,9 @@ static int fir_coef_scale(int32_t *fir_scale, int *fir_shift, int add_shift,
/* Compensate shift into FIR coef scaler and store as Q4.20. */
if (shift < 0)
*fir_scale = (fir_gain << -shift);
*fir_scale = fir_gain << -shift;
else
*fir_scale = (fir_gain >> shift);
*fir_scale = fir_gain >> shift;
return 0;
}