[PATCH] ALSA: memalloc: Remove a stale comment
Takashi Iwai
tiwai at suse.de
Wed Nov 10 07:31:00 CET 2021
The comment about the reused vmalloc helpers is no longer valid after
the recent change for the noncontig allocator. Drop the stale
comment.
Fixes: ad4f93ca4138 ("ALSA: memalloc: Use proper SG helpers for noncontig allocations")
Signed-off-by: Takashi Iwai <tiwai at suse.de>
---
sound/core/memalloc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/core/memalloc.c b/sound/core/memalloc.c
index 8c362bb5b81a..9fc971a704a9 100644
--- a/sound/core/memalloc.c
+++ b/sound/core/memalloc.c
@@ -615,7 +615,6 @@ static const struct snd_malloc_ops snd_dma_noncontig_ops = {
.free = snd_dma_noncontig_free,
.mmap = snd_dma_noncontig_mmap,
.sync = snd_dma_noncontig_sync,
- /* re-use vmalloc helpers for get_* ops */
.get_addr = snd_dma_noncontig_get_addr,
.get_page = snd_dma_noncontig_get_page,
.get_chunk_size = snd_dma_noncontig_get_chunk_size,
--
2.26.2
More information about the Alsa-devel
mailing list