diff --git a/src/audio/copier/copier.c b/src/audio/copier/copier.c index dc2c0d3d2b87..0fe324cb78f3 100644 --- a/src/audio/copier/copier.c +++ b/src/audio/copier/copier.c @@ -956,8 +956,8 @@ static uint64_t copier_get_processed_data(struct comp_dev *dev, uint32_t stream_ ret = cd->dd[0]->total_data_processed; break; default: - ret = comp_get_total_data_processed(cd->endpoint[stream_no], - 0, input); + comp_err(dev, "Unexpected gateway type encountered: %d", + dev->ipc_config.type); break; } } diff --git a/src/audio/copier/copier.h b/src/audio/copier/copier.h index 7b490e53c384..43c125134f07 100644 --- a/src/audio/copier/copier.h +++ b/src/audio/copier/copier.h @@ -245,7 +245,6 @@ struct copier_data { struct ipc4_copier_module_cfg config; void *gtw_cfg; enum ipc4_gateway_type gtw_type; - struct comp_dev *endpoint[IPC4_COPIER_MODULE_OUTPUT_PINS_COUNT]; uint32_t endpoint_num; /* buffer to mux/demux data from/to multiple endpoints for ALH multi-gateway case */