Skip to content

Commit c4695d1

Browse files
committed
Audio: SRC: Remove unnecessary initialization from fir_filter()
The intrinsics "functions" set these in their first use despite it doesn't appear so if looking the code like normal C-functions. E.g. this code line loads data from address coepf into coef2 and advances coefp. AE_L32X2F24_IP(coef2, coefp, sizeof(ae_f24x2)); Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent f60992f commit c4695d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/audio/src/src_hifi4.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,10 @@ static inline void fir_filter(ae_f32 *rp, const void *cp, ae_f32 *wp0,
180180
*/
181181
ae_f64 a0;
182182
ae_f64 a1;
183-
ae_f24x2 data2 = AE_ZERO24();
184-
ae_f24x2 coef2 = AE_ZERO24();
185-
ae_f24x2 d0 = AE_ZERO24();
186-
ae_f24x2 d1 = AE_ZERO24();
183+
ae_f24x2 data2;
184+
ae_f24x2 coef2;
185+
ae_f24x2 d0;
186+
ae_f24x2 d1;
187187
ae_f24x2 *coefp;
188188
ae_f24x2 *dp;
189189
ae_f24 *dp1;

0 commit comments

Comments
 (0)