]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ALSA: hda - Fix uninitialized variable
authorTakashi Iwai <tiwai@suse.de>
Tue, 22 Jun 2010 09:12:32 +0000 (11:12 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 Jun 2010 09:12:32 +0000 (11:12 +0200)
commit2f44f84725dec354228fddc129e83e251060361d
treebb0906b80ec8796f857be8ee779e7208a011932f
parentb8f171e7e7ed5c9b77324bcc6bb580ddcc84da49
ALSA: hda - Fix uninitialized variable

Fix the following compile warning.  kctl should be NULL-initialized.

  sound/pci/hda/patch_realtek.c: In function ‘alc_build_controls’:
  sound/pci/hda/patch_realtek.c:2550:23: warning: ‘kctl’ may be used uninitialized in this function

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c