projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a12d3e1
)
ALSA: hda - sound/pci/hda/hda_codec.c: fix warning
author
Andrew Morton
<akpm@linux-foundation.org>
Thu, 14 Apr 2011 22:06:13 +0000
(15:06 -0700)
committer
Takashi 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
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/hda_codec.c
b/sound/pci/hda/hda_codec.c
index 11ead159abd9d2561f899a4715740fea1350fec9..2b601939048937d26524527f1f4f3b5e377d6037 100644
(file)
--- 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 */