mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 01:54:09 +08:00
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>
This commit is contained in:
parent
c82693db52
commit
94230c11da
@ -398,7 +398,7 @@ static int cmi9880_fill_multi_init(struct hda_codec *codec, const struct auto_pi
|
|||||||
{
|
{
|
||||||
struct cmi_spec *spec = codec->spec;
|
struct cmi_spec *spec = codec->spec;
|
||||||
hda_nid_t nid;
|
hda_nid_t nid;
|
||||||
int i, j, k, len;
|
int i, j, k;
|
||||||
|
|
||||||
/* clear the table, only one c-media dac assumed here */
|
/* clear the table, only one c-media dac assumed here */
|
||||||
memset(spec->multi_init, 0, sizeof(spec->multi_init));
|
memset(spec->multi_init, 0, sizeof(spec->multi_init));
|
||||||
|
Loading…
Reference in New Issue
Block a user