Skip to content

Commit

Permalink
ALSA: hda - sound/pci/hda/hda_codec.c: fix warning
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
akpm00 authored and tiwai committed Apr 15, 2011
1 parent a12d3e1 commit 5b17b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/hda/hda_codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 5b17b07

Please sign in to comment.