Commit 145c0e91 authored by Takashi Iwai's avatar Takashi Iwai

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: bf06848b ('ALSA: hda - Continue probing even if i915 binding fails')
Reported-by: default avatarBorislav Petkov <bp@suse.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 82d6d8a4
...@@ -1879,7 +1879,9 @@ static int azx_probe_continue(struct azx *chip) ...@@ -1879,7 +1879,9 @@ static int azx_probe_continue(struct azx *chip)
#endif #endif
} }
#ifdef CONFIG_SND_HDA_I915
skip_i915: skip_i915:
#endif
err = azx_first_init(chip); err = azx_first_init(chip);
if (err < 0) if (err < 0)
goto out_free; goto out_free;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment