host: Remove unused completion

After commit 93a52130c1 ("pipeline: preloader: simplify
preloader by reusing pipeline copy()") copy completion handling
is done via the pipeline infrastructure. So just remove the
remaining code relicts who are there only to confuse the
novice reader.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
This commit is contained in:
Daniel Baluta 2019-02-23 23:04:18 +02:00 committed by Marcin Maka
parent 9327ca524a
commit e414339bc3
1 changed files with 0 additions and 4 deletions

View File

@ -75,7 +75,6 @@ struct host_data {
struct dma *dma;
int chan;
struct dma_sg_config config;
completion_t complete;
struct comp_buffer *dma_buffer;
uint32_t period_bytes; /**< Size of a single period (in bytes) */
@ -229,9 +228,6 @@ static void host_dma_cb(void *data, uint32_t type, struct dma_sg_elem *next)
}
next->size = DMA_RELOAD_END;
/* let any waiters know we have completed */
wait_completed(&hd->complete);
#endif
}