[alsa-devel] [PATCH 14/20] ASoC: sh: Drop superfluous PCM preallocation error checks

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed Feb 6 06:51:28 CET 2019


Hi

> snd_pcm_lib_preallocate_pages() and co always succeed, so the error
> check is simply redundant.  Drop it.
> 
> Signed-off-by: Takashi Iwai <tiwai at suse.de>
> ---
>  sound/soc/sh/fsi.c       |  3 ++-
>  sound/soc/sh/rcar/core.c |  5 +----
>  sound/soc/sh/siu_pcm.c   | 13 +------------
>  3 files changed, 4 insertions(+), 17 deletions(-)

Acked-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list