]> 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)
commit822c6906c00b046e218f7f224d8267e1fdbb8316
tree0682a9080e2e993806357c40c56bcb89ff8d4333
parent9a0cb13448e024f0a6d7002f8c5372f08aca1ec5
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