]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita018404faacd1f823a5ce5c21b637560ec658dd9
tree293f5afcebc2b3315d032c40f630988e9c446a61
parentf0010ad8081cc3a4bb2e856d21852e5d3768b116
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