summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-06-28 17:00:33 +0200
committerTakashi Iwai <tiwai@suse.de>2011-06-29 08:02:33 +0200
commit94230c11da649866b5b38039d84579d668b6a560 (patch)
tree18f2dab4f8303dc686bb717e3f317ae942ba5f59
parentc82693db52beced0419cecf09a3c81adfe95a544 (diff)
downloadlwn-94230c11da649866b5b38039d84579d668b6a560.tar.gz
lwn-94230c11da649866b5b38039d84579d668b6a560.zip
ALSA: hda - Fix unused variable warning
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>
-rw-r--r--sound/pci/hda/patch_cmedia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_cmedia.c b/sound/pci/hda/patch_cmedia.c
index 08af4847c07a..cd2cf5e94e81 100644
--- 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));