Blob Blame History Raw
From 4ddac46031c1b341f2d3466243ac280f589ca41b Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai@suse.de>
Date: Wed, 10 Nov 2021 07:31:00 +0100
Subject: [PATCH] ALSA: memalloc: Remove a stale comment
Git-commit: 4ddac46031c1b341f2d3466243ac280f589ca41b
Patch-mainline: v5.16-rc1
References: bsc#1192354

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")
Link: https://lore.kernel.org/r/20211110063100.21359-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@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