projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c82693d
)
ALSA: hda - Fix unused variable warning
author
Takashi Iwai
<tiwai@suse.de>
Tue, 28 Jun 2011 15:00:33 +0000
(17:00 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 29 Jun 2011 06:02:33 +0000
(08:02 +0200)
sound/pci/hda/patch_cmedia.c: In function ‘cmi9880_fill_multi_init’:
sound/pci/hda/patch_cmedia.c:401:15: warning: unused variable ‘len’
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_cmedia.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_cmedia.c
b/sound/pci/hda/patch_cmedia.c
index 08af4847c07a75ea863052625056a86d99203b34..cd2cf5e94e81df8b8111aa1ce4180a02e79cb99b 100644
(file)
--- a/
sound/pci/hda/patch_cmedia.c
+++ b/
sound/pci/hda/patch_cmedia.c
@@
-398,7
+398,7
@@
static int cmi9880_fill_multi_init(struct hda_codec *codec, const struct auto_pi
{
struct cmi_spec *spec = codec->spec;
hda_nid_t nid;
- int i, j, k
, len
;
+ int i, j, k;
/* clear the table, only one c-media dac assumed here */
memset(spec->multi_init, 0, sizeof(spec->multi_init));