]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: dmaengine: Drop superfluous PCM preallocation error checks
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 15:41:43 +0000 (16:41 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Feb 2019 17:29:49 +0000 (18:29 +0100)
commit6c422436638af9f8240df71c53275c3d255c2170
tree4853c4691b00c0afdebb7f2666d674de38eaa481
parent8eea18f6a433cec20ec80d13f8483faa99ccb65f
ASoC: dmaengine: 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/soc-generic-dmaengine-pcm.c