• Takashi Iwai's avatar
    ALSA: ctxfi - Fix uninitialized error checks · 68110661
    Takashi Iwai authored
    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: default avatarTakashi Iwai <tiwai@suse.de>
    68110661
ctsrc.c 19.4 KB