]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: intel: Drop superfluous PCM preallocation error checks
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 15:38:42 +0000 (16:38 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Feb 2019 17:29:05 +0000 (18:29 +0100)
commit62961dd5f609b202080e7d9053de1a8967c9d4d8
tree1f68b95b1e83c53e17381352103b1b0c63912153
parentad8ba770ca67d283b3166a8baf71cb4e42e9c973
ASoC: intel: 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/intel/atom/sst-mfld-platform-pcm.c
sound/soc/intel/baytrail/sst-baytrail-pcm.c
sound/soc/intel/haswell/sst-haswell-pcm.c
sound/soc/intel/skylake/skl-pcm.c