]> git.baikalelectronics.ru Git - kernel.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)
commit9bd01c5f65af379e4d40033a0f816c77c8c2c0ed
tree89935430db23e7a421ef580c96e63baf5ab6b6a2
parentb09ac46274e27e1dcc8929f6962267b176daf41d
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