ASoC: xtensa: Drop superfluous PCM preallocation error checks
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 15:41:09 +0000 (16:41 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Feb 2019 17:29:44 +0000 (18:29 +0100)
commit8eea18f6a433cec20ec80d13f8483faa99ccb65f
tree293f5afcebc2b3315d032c40f630988e9c446a61
parentc87592fec3963c8f7f95db866cb260cee48d76a3
ASoC: xtensa: 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/xtensa/xtfpga-i2s.c