Skip to content

Commit 1aa4211

Browse files
committed
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 <bard.liao@intel.com>
1 parent ccaff5c commit 1aa4211

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/ipc/handler.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,6 @@ static int ipc_dma_trace_config(uint32_t header)
626626
uint32_t ring_size;
627627
#endif
628628
struct sof_ipc_dma_trace_params *params = _ipc->comp_data;
629-
struct sof_ipc_reply reply;
630629
int err;
631630

632631
trace_ipc("DA1");
@@ -680,11 +679,6 @@ static int ipc_dma_trace_config(uint32_t header)
680679
if (err < 0)
681680
goto error;
682681

683-
/* write component values to the outbox */
684-
reply.hdr.size = sizeof(reply);
685-
reply.hdr.cmd = header;
686-
reply.error = 0;
687-
mailbox_hostbox_write(0, &reply, sizeof(reply));
688682
return 0;
689683

690684
error:

0 commit comments

Comments
 (0)