mirror of https://github.com/thesofproject/sof.git
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:
parent
f755277000
commit
11b9ca19cb
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue