Messages in this thread | | | Date | Wed, 17 Jun 2015 15:17:20 +0200 | From | Frans Klaver <> | Subject | Re: [PATCH] sound: hda_intel: fix warning if SND_HDA_I915=n |
| |
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@xsens.com> > > This was already fixed in the latest tree. Thanks.
Alright, hadn't noticed that.
Thanks, Frans
| |