Skip to contentSkip to conversation

ALSA: memalloc: Remove a stale comment

PATCH New Takashi Iwai 1 participant 1 message Nov 10, 2021 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: memalloc: Remove a stale comment

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")
---
 sound/core/memalloc.c | 1 -
 1 file changed, 1 deletion(-)
sound/core/memalloc.c +0 -1
index 8c362bb5b81a..9fc971a704a9 100644
@@ -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,
Signature · 1 line
2.26.2