]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: sh: Drop superfluous PCM preallocation error checks
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 15:35:30 +0000 (16:35 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Feb 2019 09:29:24 +0000 (10:29 +0100)
commit2462bca0a668393aea6fe7bc53c49066944b04fa
tree4e74e99b125d4a172e5c30e37e978d3fce5831d2
parentc025672290d7a21df00d9b89ccc422a94eda5671
ALSA: sh: 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/sh/aica.c