]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4ddb85aad719fac73dae3310961bd9f94cb4064e
tree0682a9080e2e993806357c40c56bcb89ff8d4333
parent632cae5fc6f543214436087eeb9d5709c01eae2d
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