trace: remove a superfluous variable initialisation

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
Guennadi Liakhovetski 2020-08-11 13:05:37 +02:00 committed by Liam Girdwood
parent bf4106935a
commit 1820da7514
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@ static void dtrace_add_event(const char *e, uint32_t length)
struct dma_trace_data *trace_data = dma_trace_data_get();
struct dma_trace_buf *buffer = &trace_data->dmatb;
uint32_t margin;
uint32_t overflow = 0;
uint32_t overflow;
int ret;
margin = dtrace_calc_buf_margin(buffer);