ALSA: pci: Drop superfluous PCM preallocation error checks
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 15:32:09 +0000 (16:32 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Feb 2019 09:29:09 +0000 (10:29 +0100)
commit5116b94af07a9775ed694562f354e931b2cc04d4
treef3e8a2cd528c0f37f59fdaa07db6cf348d4a280d
parentf32e5616005bb999fec6a2e914161805d7ad061f
ALSA: pci: Drop superfluous PCM preallocation error checks

snd_pcm_lib_preallocate_pages() and co always succeed, so the error
check is simply redundant.  Drop it.

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ad1889.c
sound/pci/aw2/aw2-alsa.c
sound/pci/bt87x.c
sound/pci/ca0106/ca0106_main.c
sound/pci/echoaudio/echoaudio.c
sound/pci/emu10k1/emupcm.c
sound/pci/emu10k1/p16v.c
sound/pci/lx6464es/lx6464es.c
sound/pci/rme9652/hdspm.c
sound/pci/via82xx_modem.c