Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;