ALSA: memalloc: Drop superfluous snd_dma_buffer_sync() declaration
authorTakashi Iwai <tiwai@suse.de>
Tue, 19 Oct 2021 06:05:35 +0000 (08:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 19 Oct 2021 06:07:26 +0000 (08:07 +0200)
commit7d2a0df24227337cf42b024c91708f542ca4ff90
treea541a7637b1e5342ee08db6d0280fcd39209a009
parent5aec579e08e4f2be7103ae264ac8f34883eb9273
ALSA: memalloc: Drop superfluous snd_dma_buffer_sync() declaration

snd_dma_buffer_sync() is declared twice, and the one outside the ifdef
CONFIG_HAS_DMA could lead to a build error when CONFIG_HAS_DMA=n.
As it's an overlooked leftover after rebase, drop this line.

Fixes: a25684a95646 ("ALSA: memalloc: Support for non-contiguous page allocation")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Link: https://lore.kernel.org/r/20211019165402.4fa82c38@canb.auug.org.au
Link: https://lore.kernel.org/r/20211019060536.26089-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/memalloc.h