ALSA: spi: Drop superfluous PCM preallocation error checks
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 15:36:00 +0000 (16:36 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Feb 2019 09:29:36 +0000 (10:29 +0100)
commit600bacfcd706b5820d172626bfa6347482b4946b
tree0682a9080e2e993806357c40c56bcb89ff8d4333
parent1267e24fe749b04beca5a7f04ffa49d9d792adb0
ALSA: spi: 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/spi/at73c213.c