From 11b9ca19cb194189a88869ce7bff85a1e83671b9 Mon Sep 17 00:00:00 2001 From: Payal Kshirsagar Date: Tue, 24 Mar 2020 12:10:42 +0530 Subject: [PATCH] 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 --- src/drivers/intel/cavs/dmic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/intel/cavs/dmic.c b/src/drivers/intel/cavs/dmic.c index 9f0172aaa..21e7e95c6 100644 --- a/src/drivers/intel/cavs/dmic.c +++ b/src/drivers/intel/cavs/dmic.c @@ -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; }