Merge tag 'sound-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai...
[sfrench/cifs-2.6.git] / sound / soc / intel / skylake / skl-topology.c
index 9bdf020a2b643e3c05ad4d2a5cbb6a9253f1b273..e06eac592da128a831577d05a34f215ef58ca2a5 100644 (file)
@@ -2950,9 +2950,6 @@ static int skl_tplg_get_pvt_data(struct snd_soc_tplg_dapm_widget *tplg_w,
                block_size = ret;
                off += array->size;
 
-               array = (struct snd_soc_tplg_vendor_array *)
-                       (tplg_w->priv.data + off);
-
                data = (tplg_w->priv.data + off);
 
                if (block_type == SKL_TYPE_TUPLE) {
@@ -3599,9 +3596,6 @@ static int skl_tplg_get_manifest_data(struct snd_soc_tplg_manifest *manifest,
                block_size = ret;
                off += array->size;
 
-               array = (struct snd_soc_tplg_vendor_array *)
-                       (manifest->priv.data + off);
-
                data = (manifest->priv.data + off);
 
                if (block_type == SKL_TYPE_TUPLE) {