testbench: remove unused sets

looks like a bug to checkpatch.

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
This commit is contained in:
Curtis Malainey 2021-04-20 17:57:02 -07:00 committed by Liam Girdwood
parent f227ae7af2
commit 0f0dd1d7ab
1 changed files with 2 additions and 2 deletions

View File

@ -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);