Commit 5b17b077 authored by Andrew Morton's avatar Andrew Morton Committed by Takashi Iwai

ALSA: hda - sound/pci/hda/hda_codec.c: fix warning

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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent a12d3e1e
...@@ -329,7 +329,7 @@ int snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid, ...@@ -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) hda_nid_t *conn_list, int max_conns)
{ {
struct snd_array *array = &codec->conn_lists; 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]; hda_nid_t list[HDA_MAX_CONNECTIONS];
/* look up the cached results */ /* look up the cached results */
......
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