]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: txx9: Drop superfluous PCM preallocation error checks
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 15:40:37 +0000 (16:40 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Feb 2019 17:29:33 +0000 (18:29 +0100)
commit391363d95cd5c9ca122b0efa72f40e1632b8c371
tree6611d2ae67903ad5fae5cb7f3816069bdd93c5a9
parentc4518602f81ff39eaae3d6a08b74d6e2886e0ccc
ASoC: txx9: 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/txx9/txx9aclc.c