ASoC: Intel: avs: Remove unused variable
commit 045059e4d3ce39104323fe01da61374ba73f31b3 upstream. Recent commit removed the only user of bus variable in avs_dai_fe_prepare(), also remove the variable itself. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202309292121.5DdaNpLj-lkp@intel.com/ Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com> Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> Link: https://lore.kernel.org/r/20231002084629.903103-1-amadeuszx.slawinski@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
29759513cf
commit
a3b7a62528
|
@ -605,7 +605,6 @@ static int avs_dai_fe_prepare(struct snd_pcm_substream *substream, struct snd_so
|
|||
struct avs_dma_data *data;
|
||||
struct avs_dev *adev = to_avs_dev(dai->dev);
|
||||
struct hdac_ext_stream *host_stream;
|
||||
struct hdac_bus *bus;
|
||||
unsigned int format_val;
|
||||
int ret;
|
||||
|
||||
|
@ -615,7 +614,6 @@ static int avs_dai_fe_prepare(struct snd_pcm_substream *substream, struct snd_so
|
|||
if (hdac_stream(host_stream)->prepared)
|
||||
return 0;
|
||||
|
||||
bus = hdac_stream(host_stream)->bus;
|
||||
snd_hdac_stream_reset(hdac_stream(host_stream));
|
||||
|
||||
format_val = snd_hdac_calc_stream_format(runtime->rate, runtime->channels, runtime->format,
|
||||
|
|
Loading…
Reference in New Issue