Skip to content

Commit

Permalink
ALSA: memalloc: Remove a stale comment
Browse files Browse the repository at this point in the history
The comment about the reused vmalloc helpers is no longer valid after
the recent change for the noncontig allocator.  Drop the stale
comment.

Fixes: ad4f93c ("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>
  • Loading branch information
Takashi Iwai committed Nov 10, 2021
1 parent d159037 commit 4ddac46
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/core/memalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4ddac46

Please sign in to comment.