Re: [PATCH -next] ASoC: Intel: fix unused-variable warning in probe_codec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 13 Sep 2022 16:03:35 +0200,
Cezary Rojewski wrote:
> 
> On 2022-08-22 5:51 AM, Gaosheng Cui wrote:
> > In configurations with CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC=n,
> > gcc warns about an unused variable:
> > 
> > sound/soc/intel/skylake/skl.c: In function ʽprobe_codecʼ:
> > sound/soc/intel/skylake/skl.c:729:18: error: unused variable ʽsklʼ [-Werror=unused-variable]
> >    struct skl_dev *skl = bus_to_skl(bus);
> >                    ^~~
> > cc1: all warnings being treated as errors
> > 
> > Fixes: 3fd63658caed9 ("ASoC: Intel: Drop hdac_ext usage for codec device creation")
> > Signed-off-by: Gaosheng Cui <cuigaosheng1@xxxxxxxxxx>
> 
> Thanks for the fix.
> 
> Acked-by: Cezary Rojewski <cezary.rojewski@xxxxxxxxx>

Applied now.


Takashi



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux