[PATCH] ALSA: pcm: Remove snd_pcm_lib_preallocate_dma_free()
Takashi Iwai
tiwai at suse.de
Fri Dec 18 17:07:55 CET 2020
On Fri, 18 Dec 2020 16:34:00 +0100,
Lars-Peter Clausen wrote:
>
> Since commit d4cfb30fce03 ("ALSA: pcm: Set per-card upper limit of PCM
> buffer allocations") snd_pcm_lib_preallocate_dma_free() is a single line
> function that has one caller, which is another single line function.
>
> Clean this up a bit and remove snd_pcm_lib_preallocate_dma_free() and
> directly call do_free_pages() from snd_pcm_lib_preallocate_free(). This is
> a bit less boilerplate.
>
> Signed-off-by: Lars-Peter Clausen <lars at metafoo.de>
Thanks, applied.
Takashi
More information about the Alsa-devel
mailing list