]> asedeno.scripts.mit.edu Git - linux.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)
commit18183edaad8d6a86ae8ac90ecf852527a207aad5
tree4c49d109b16ea5b48ec8178e4207ea8e6a2342ec
parentb76c7fe6c99d427a064e5e152dca7fe24f424f53
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