summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorAndrew Morton2011-04-15 00:06:13 +0200
committerTakashi Iwai2011-04-15 08:41:22 +0200
commit5b17b077eb069365ac9508dd0be6e09e0b604bd2 (patch)
treed9ce49fd8c6b39d5340b3180362c2e67b589b618 /sound
parentALSA: hda - Remember connection lists (diff)
downloadkernel-qcow2-linux-5b17b077eb069365ac9508dd0be6e09e0b604bd2.tar.gz
kernel-qcow2-linux-5b17b077eb069365ac9508dd0be6e09e0b604bd2.tar.xz
kernel-qcow2-linux-5b17b077eb069365ac9508dd0be6e09e0b604bd2.zip
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')
-rw-r--r--sound/pci/hda/hda_codec.c2
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,
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 */