diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2020-12-18 16:34:00 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-12-18 17:07:04 +0100 |
commit | f2283366c2919fda71e6eb725c3e5c1bd47bae1a (patch) | |
tree | e04c634cf7d82b12d6d85af348f64538316fa267 /sound/usb/validate.c | |
parent | 725124d10d00b2f56bb5bd08b431cc74ab3b3ace (diff) |
ALSA: pcm: Remove snd_pcm_lib_preallocate_dma_free()
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>
Link: https://lore.kernel.org/r/20201218153400.18394-1-lars@metafoo.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/validate.c')
0 files changed, 0 insertions, 0 deletions