Skip to content

Commit

Permalink
ASoC: SOF: Intel: hda-dai: remove skip_tlv label
Browse files Browse the repository at this point in the history
We just return 0 after the skip_tlv label. No need to use a label.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
  • Loading branch information
bardliao authored and plbossart committed May 22, 2024
1 parent b27c5c5 commit deff86c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sound/soc/sof/intel/hda-dai.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ static int non_hda_dai_hw_params_data(struct snd_pcm_substream *substream,

sdev = widget_to_sdev(w);
if (sdev->dspless_mode_selected)
goto skip_tlv;
return 0;

/* get stream_id */
hext_stream = ops->get_hext_stream(sdev, cpu_dai, substream);
Expand Down Expand Up @@ -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_priv_config_size = 0;

skip_tlv:
return 0;
}

Expand Down

0 comments on commit deff86c

Please sign in to comment.