Re: [PATCH] ALSA: pcm: Remove snd_pcm_lib_preallocate_dma_free()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

Thanks, applied.


Takashi



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux