]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: dwc: Drop superfluous PCM preallocation error checks
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 15:38:20 +0000 (16:38 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Feb 2019 17:28:59 +0000 (18:28 +0100)
commitad8ba770ca67d283b3166a8baf71cb4e42e9c973
tree89935430db23e7a421ef580c96e63baf5ab6b6a2
parentf6aa470f0d3c6b2f57c1f311757a583a3ba1f584
ASoC: dwc: 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/dwc/dwc-pcm.c