]> git.baikalelectronics.ru Git - kernel.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)
commitcd228a60c77607fd3c408c787173fd34f23f374a
tree4853c4691b00c0afdebb7f2666d674de38eaa481
parenta018404faacd1f823a5ce5c21b637560ec658dd9
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