]> 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)
commitc4518602f81ff39eaae3d6a08b74d6e2886e0ccc
tree4c49d109b16ea5b48ec8178e4207ea8e6a2342ec
parentd07c57eaf86194b30cccb7c8871fd165f578f4d6
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