From 1820da751419c6b4847cdcc0e564511695462d07 Mon Sep 17 00:00:00 2001 From: Guennadi Liakhovetski Date: Tue, 11 Aug 2020 13:05:37 +0200 Subject: [PATCH] trace: remove a superfluous variable initialisation Signed-off-by: Guennadi Liakhovetski --- src/trace/dma-trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trace/dma-trace.c b/src/trace/dma-trace.c index 5529f0414..47a50ec16 100644 --- a/src/trace/dma-trace.c +++ b/src/trace/dma-trace.c @@ -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);