From 1aa421173b83c3b12f7298fd40aac9f6f0bcf402 Mon Sep 17 00:00:00 2001 From: Bard liao Date: Tue, 9 Oct 2018 18:22:28 +0800 Subject: [PATCH] dma-trace: remove specific reply ipc_platform_do_cmd will send a standard reply when ipc_cmd() return 0. So, we don't need to send a specific reply in ipc_dma_trace_config(). Signed-off-by: Bard liao --- src/ipc/handler.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/ipc/handler.c b/src/ipc/handler.c index 629d4d436..417fdf007 100644 --- a/src/ipc/handler.c +++ b/src/ipc/handler.c @@ -626,7 +626,6 @@ static int ipc_dma_trace_config(uint32_t header) uint32_t ring_size; #endif struct sof_ipc_dma_trace_params *params = _ipc->comp_data; - struct sof_ipc_reply reply; int err; trace_ipc("DA1"); @@ -680,11 +679,6 @@ static int ipc_dma_trace_config(uint32_t header) if (err < 0) goto error; - /* write component values to the outbox */ - reply.hdr.size = sizeof(reply); - reply.hdr.cmd = header; - reply.error = 0; - mailbox_hostbox_write(0, &reply, sizeof(reply)); return 0; error: