]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: stm: Drop superfluous PCM preallocation error checks
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 15:40:22 +0000 (16:40 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Feb 2019 17:29:28 +0000 (18:29 +0100)
commit89d002eeffd3f31e1e45c7ff7d8d73b8c6b2562b
tree4c49d109b16ea5b48ec8178e4207ea8e6a2342ec
parenta9bd857ac8fbc180d5dd489bd7db8081d14f968d
ASoC: stm: 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>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/stm/stm32_adfsdm.c