]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: uniphier: Drop superfluous PCM preallocation error checks
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 15:40:55 +0000 (16:40 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Feb 2019 17:29:39 +0000 (18:29 +0100)
commitc87592fec3963c8f7f95db866cb260cee48d76a3
treef5fee58ae479ab62baed7fb7caecf28e1edbc732
parent4f39e4c969b1b26f44be7d697c4c3e60a6a87d0c
ASoC: uniphier: 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/uniphier/aio-dma.c