ALSA: hda - sound/pci/hda/hda_codec.c: fix warning
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 14 Apr 2011 22:06:13 +0000 (15:06 -0700)
committerTakashi Iwai <tiwai@suse.de>
Fri, 15 Apr 2011 06:41:22 +0000 (08:41 +0200)
sound/pci/hda/hda_codec.c: In function 'snd_hda_get_connections':
sound/pci/hda/hda_codec.c:332: warning: unused variable 'j'

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c

index 11ead159abd9d2561f899a4715740fea1350fec9..2b601939048937d26524527f1f4f3b5e377d6037 100644 (file)
@@ -329,7 +329,7 @@ int snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid,
                             hda_nid_t *conn_list, int max_conns)
 {
        struct snd_array *array = &codec->conn_lists;
-       int i, j, len, old_used;
+       int i, len, old_used;
        hda_nid_t list[HDA_MAX_CONNECTIONS];
 
        /* look up the cached results */