ALSA: ice1712: remove unneeded return statement
authorSudip Mukherjee <sudip@vectorindia.org>
Fri, 14 Nov 2014 10:39:05 +0000 (16:09 +0530)
committerTakashi Iwai <tiwai@suse.de>
Fri, 14 Nov 2014 13:16:36 +0000 (14:16 +0100)
commit387417b56295ef93d7cb38e1721826c85dfe897c
treef3f01a70e02e6fc5447dfbd299e681f4dc17dc83
parent9547c0999e50fd624cab52f94a79f0fd27a7cb84
ALSA: ice1712: remove unneeded return statement

the functions:
        snd_ice1712_akm4xxx_build_controls
        snd_ice1712_build_pro_mixer
        snd_ctl_add
        snd_ak4114_build
        prodigy192_ak4114_init
        snd_ak4113_build
are all returning either 0 or a negetive error value.
so we can easily remove the check for a negative value and return
the value instead.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ice1712/hoontech.c
sound/pci/ice1712/ice1712.c
sound/pci/ice1712/ice1724.c
sound/pci/ice1712/juli.c
sound/pci/ice1712/prodigy192.c
sound/pci/ice1712/quartet.c