diff --git a/src/audio/detect_test.c b/src/audio/detect_test.c index c8e2c2fdd..5521e3cce 100644 --- a/src/audio/detect_test.c +++ b/src/audio/detect_test.c @@ -286,12 +286,6 @@ static int test_keyword_params(struct comp_dev *dev) /* calculate the length of the preamble */ if (cd->config.preamble_time) { - if (cd->config.preamble_time > KPB_MAX_BUFF_TIME) { - trace_keyword_error("test_keyword_params() " - "error: kp length too long"); - return -EINVAL; - } - cd->keyphrase_samples = cd->config.preamble_time * (dev->params.rate / 1000); } else {