]> git.dujemihanovic.xyz Git - linux.git/commitdiff
ALSA: memalloc: Remove a stale comment
authorTakashi Iwai <tiwai@suse.de>
Wed, 10 Nov 2021 06:31:00 +0000 (07:31 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 10 Nov 2021 06:35:23 +0000 (07:35 +0100)
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

index 8c362bb5b81ab0d72596de1981611969ab6a9141..9fc971a704a9ea0a0b1c7e3a602fa8c8c7a4a89f 100644 (file)
@@ -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,