ALSA: hda - Fix unused label skip_i915

When CONFIG_SND_HDA_I915=n, we get a compile 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]

Fix it by putting again ifdef to it.  Sigh.

Fixes: bf06848bdb ('ALSA: hda - Continue probing even if i915 binding fails')
Reported-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai 2015-06-16 12:23:36 +02:00
parent 82d6d8a403
commit 145c0e914d

View File

@ -1879,7 +1879,9 @@ static int azx_probe_continue(struct azx *chip)
#endif
}
#ifdef CONFIG_SND_HDA_I915
skip_i915:
#endif
err = azx_first_init(chip);
if (err < 0)
goto out_free;