mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-29 01:51:39 +00:00
ALSA: hda - Fix "unused variable" compile warning
sound/pci/hda/patch_realtek.c: In function ‘alc_apply_fixup’: sound/pci/hda/patch_realtek.c:1724:14: warning: unused variable ‘modelname’ snd_printdd() is evaluated only when CONFIG_SND_DEBUG_VERBOSE=y. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
5734a07cbb
commit
aa1d0c5261
1 changed files with 2 additions and 0 deletions
|
@ -1721,7 +1721,9 @@ static void alc_apply_fixup(struct hda_codec *codec, int action)
|
||||||
{
|
{
|
||||||
struct alc_spec *spec = codec->spec;
|
struct alc_spec *spec = codec->spec;
|
||||||
int id = spec->fixup_id;
|
int id = spec->fixup_id;
|
||||||
|
#ifdef CONFIG_SND_DEBUG_VERBOSE
|
||||||
const char *modelname = spec->fixup_name;
|
const char *modelname = spec->fixup_name;
|
||||||
|
#endif
|
||||||
int depth = 0;
|
int depth = 0;
|
||||||
|
|
||||||
if (!spec->fixup_list)
|
if (!spec->fixup_list)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue