Skip to content

Commit

Permalink
ALSA: hda - Fix unused variable warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Takashi Iwai committed Jun 29, 2011
1 parent c82693d commit 94230c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/hda/patch_cmedia.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 94230c1

Please sign in to comment.