ALSA: ctxfi - Fix uninitialized error checks
authorTakashi Iwai <tiwai@suse.de>
Wed, 22 Jul 2009 15:05:15 +0000 (17:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 22 Jul 2009 15:05:15 +0000 (17:05 +0200)
commit68110661e86868cd107955ec7c077e1f34519f78
treedeff04962ea382ef94f46734103f1d11f89adcb0
parent55fe27f7e2c9d24ce870136bd99ae67b020122d1
ALSA: ctxfi - Fix uninitialized error checks

Fix a few uninitialized error checks that were introduced recently
mistakenlly during the clean-up:
  sound/pci/ctxfi/ctamixer.c: In function ‘get_amixer_rsc’:
  sound/pci/ctxfi/ctamixer.c:261: warning: ‘err’ may be used uninitialized in this function
  sound/pci/ctxfi/ctamixer.c: In function ‘get_sum_rsc’:
  sound/pci/ctxfi/ctamixer.c:415: warning: ‘err’ may be used uninitialized in this function
  sound/pci/ctxfi/ctsrc.c: In function ‘get_srcimp_rsc’:
  sound/pci/ctxfi/ctsrc.c:742: warning: ‘err’ may be used uninitialized in this function

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ctxfi/ctamixer.c
sound/pci/ctxfi/ctsrc.c