From: Takashi Iwai Date: Tue, 28 Jun 2011 15:00:33 +0000 (+0200) Subject: ALSA: hda - Fix unused variable warning X-Git-Tag: MMI-PSA29.97-13-9~18103^2~124^2~57 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=94230c11da649866b5b38039d84579d668b6a560;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 --- 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));