diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2011-04-14 18:06:13 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-04-15 02:41:22 -0400 |
commit | 5b17b077eb069365ac9508dd0be6e09e0b604bd2 (patch) | |
tree | d9ce49fd8c6b39d5340b3180362c2e67b589b618 /sound/pci | |
parent | a12d3e1e1cb67bab2411966b345151c316633847 (diff) |
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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 11ead159abd9..2b6019390489 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c | |||
@@ -329,7 +329,7 @@ int snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid, | |||
329 | hda_nid_t *conn_list, int max_conns) | 329 | hda_nid_t *conn_list, int max_conns) |
330 | { | 330 | { |
331 | struct snd_array *array = &codec->conn_lists; | 331 | struct snd_array *array = &codec->conn_lists; |
332 | int i, j, len, old_used; | 332 | int i, len, old_used; |
333 | hda_nid_t list[HDA_MAX_CONNECTIONS]; | 333 | hda_nid_t list[HDA_MAX_CONNECTIONS]; |
334 | 334 | ||
335 | /* look up the cached results */ | 335 | /* look up the cached results */ |