ALSA: hda - Fix unused variable compile warning

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, March 26, 2009 - 12:13 pm

Gitweb:     http://git.kernel.org/linus/cfb9fb5517faa9e61c7e874fc89ef9c9253a0902
Commit:     cfb9fb5517faa9e61c7e874fc89ef9c9253a0902
Parent:     c5a4bcd0cac546c5d776af881c5e913ba4a9922d
Author:     Takashi Iwai <tiwai@suse.de>
AuthorDate: Fri Feb 6 17:34:03 2009 +0100
Committer:  Takashi Iwai <tiwai@suse.de>
CommitDate: Fri Feb 6 17:34:03 2009 +0100

    ALSA: hda - Fix unused variable compile warning
    
      sound/pci/hda/patch_realtek.c:12693: warning: unused variable ‘i’
    
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 sound/pci/hda/patch_realtek.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 3d933e3..f594a09 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -12690,7 +12690,7 @@ static int alc269_auto_create_analog_input_ctls(struct alc_spec *spec,
 static int alc269_parse_auto_config(struct hda_codec *codec)
 {
 	struct alc_spec *spec = codec->spec;
-	int i, err;
+	int err;
 	static hda_nid_t alc269_ignore[] = { 0x1d, 0 };
 
 	err = snd_hda_parse_pin_def_config(codec, &spec->autocfg,
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ALSA: hda - Fix unused variable compile warning, Linux Kernel Mailing ..., (Thu Mar 26, 12:13 pm)