]> git.baikalelectronics.ru Git - kernel.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)
commitcb6e7c39f103fe30381802eb320e2a12c732215f
treebb0906b80ec8796f857be8ee779e7208a011932f
parentd4c2d03f6b413d5f7dd77df5ce21291c54f30513
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