Commit 3b06e137 authored by Bard Liao's avatar Bard Liao Committed by Mark Brown

ASoC: SOF: Intel: hda-dai: remove skip_tlv label

We just return 0 after the skip_tlv label. No need to use a label.
Signed-off-by: default avatarBard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: default avatarPéter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://msgid.link/r/20240603073224.14726-3-peter.ujfalusi@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent e0e8e4bc
...@@ -379,7 +379,7 @@ static int non_hda_dai_hw_params_data(struct snd_pcm_substream *substream, ...@@ -379,7 +379,7 @@ static int non_hda_dai_hw_params_data(struct snd_pcm_substream *substream,
sdev = widget_to_sdev(w); sdev = widget_to_sdev(w);
if (sdev->dspless_mode_selected) if (sdev->dspless_mode_selected)
goto skip_tlv; return 0;
/* get stream_id */ /* get stream_id */
hext_stream = ops->get_hext_stream(sdev, cpu_dai, substream); hext_stream = ops->get_hext_stream(sdev, cpu_dai, substream);
...@@ -423,7 +423,6 @@ static int non_hda_dai_hw_params_data(struct snd_pcm_substream *substream, ...@@ -423,7 +423,6 @@ static int non_hda_dai_hw_params_data(struct snd_pcm_substream *substream,
dma_config->dma_stream_channel_map.device_count = 1; dma_config->dma_stream_channel_map.device_count = 1;
dma_config->dma_priv_config_size = 0; dma_config->dma_priv_config_size = 0;
skip_tlv:
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment