From e414339bc359b1c2b0dcc3d8ea35dede58be7982 Mon Sep 17 00:00:00 2001 From: Daniel Baluta Date: Sat, 23 Feb 2019 23:04:18 +0200 Subject: [PATCH] host: Remove unused completion After commit 93a52130c187db ("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 --- src/audio/host.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/audio/host.c b/src/audio/host.c index 91fbe3bde..3e0a3c4fc 100644 --- a/src/audio/host.c +++ b/src/audio/host.c @@ -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 }