ALSA: memalloc: remove snd_dma_sg_ops declaration
authorGaosheng Cui <cuigaosheng1@huawei.com>
Fri, 9 Sep 2022 03:54:43 +0000 (11:54 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Sep 2022 07:09:40 +0000 (09:09 +0200)
snd_dma_sg_ops has been removed since
commit 2c95b92ecd92 ("ALSA: memalloc: Unify x86 SG-buffer handling
(take#3)"), so remove it.

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Link: https://lore.kernel.org/r/20220909035443.1065737-3-cuigaosheng1@huawei.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/memalloc_local.h

index a6f3a87194daa0619101a60cc965a99795aa18cd..8b19f3a68a4ba82dd714a01ead1c78b436d72229 100644 (file)
@@ -13,8 +13,4 @@ struct snd_malloc_ops {
        void (*sync)(struct snd_dma_buffer *dmab, enum snd_dma_sync_mode mode);
 };
 
-#ifdef CONFIG_SND_DMA_SGBUF
-extern const struct snd_malloc_ops snd_dma_sg_ops;
-#endif
-
 #endif /* __MEMALLOC_LOCAL_H */