18 Dec
2020
18 Dec
'20
5:07 p.m.
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@metafoo.de
Thanks, applied.
Takashi