ALSA: sparc: Drop superfluous PCM preallocation error checks
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 15:35:48 +0000 (16:35 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Feb 2019 09:29:30 +0000 (10:29 +0100)
commit1267e24fe749b04beca5a7f04ffa49d9d792adb0
tree9a5e9cee3a100b307ed9b19bda2f449f3c3387dd
parent2462bca0a668393aea6fe7bc53c49066944b04fa
ALSA: sparc: 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/sparc/dbri.c