]> git.baikalelectronics.ru Git - kernel.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)
commitd277aaa0914ec7d868125b2c304ab28d9ec30ed9
tree4e74e99b125d4a172e5c30e37e978d3fce5831d2
parentef8c4165719d1c3cbc4a8969f44c08c86e39e520
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