From 0f0dd1d7ab1b44a9cbde3079ee219252b8b89bc8 Mon Sep 17 00:00:00 2001 From: Curtis Malainey Date: Tue, 20 Apr 2021 17:57:02 -0700 Subject: [PATCH] testbench: remove unused sets looks like a bug to checkpatch. Signed-off-by: Curtis Malainey --- tools/testbench/topology.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testbench/topology.c b/tools/testbench/topology.c index fce06e4d4..bfdbf7cea 100644 --- a/tools/testbench/topology.c +++ b/tools/testbench/topology.c @@ -166,7 +166,7 @@ static int tplg_load_fileread(int comp_id, int pipeline_id, int size, struct snd_soc_tplg_vendor_array *array = NULL; size_t total_array_size = 0; size_t read_size; - int ret = 0; + int ret; /* allocate memory for vendor tuple array */ array = (struct snd_soc_tplg_vendor_array *)malloc(size); @@ -230,7 +230,7 @@ static int tplg_load_filewrite(int comp_id, int pipeline_id, int size, struct snd_soc_tplg_vendor_array *array = NULL; size_t read_size; size_t total_array_size = 0; - int ret = 0; + int ret; /* allocate memory for vendor tuple array */ array = (struct snd_soc_tplg_vendor_array *)malloc(size);