Re: [PATCH] sound: hda_intel: fix warning if SND_HDA_I915=n
From: Frans Klaver
Date: Wed Jun 17 2015 - 09:17:45 EST
On Wed, Jun 17, 2015 at 03:13:39PM +0200, Takashi Iwai wrote:
> At Wed, 17 Jun 2015 14:53:19 +0200,
> Frans Klaver wrote:
> >
> > When building with CONFIG_SND_HDA_I915=n, I get the following warning:
> >
> > sound/pci/hda/hda_intel.c: In function âazx_probe_continueâ:
> > sound/pci/hda/hda_intel.c:1882:2: warning: label âskip_i915â defined but not used [-Wunused-label]
> > skip_i915:
> > ^
> >
> > Fix this by using 'if (IS_ENABLED())' rather than #ifdef.
> >
> > Signed-off-by: Frans Klaver <frans.klaver@xxxxxxxxx>
>
> This was already fixed in the latest tree. Thanks.
Alright, hadn't noticed that.
Thanks,
Frans
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/