[PATCH 0/2] Remove unused declarations
This series contains a few cleanup patches, to remove unused declarations which have been removed. Thanks!
Gaosheng Cui (2): ALSA: line6: remove line6_set_raw declaration ALSA: memalloc: remove snd_dma_sg_ops declaration
sound/core/memalloc_local.h | 4 ---- sound/usb/line6/driver.h | 2 -- 2 files changed, 6 deletions(-)
line6_set_raw has been removed since commit 9f673d7a6022 ("staging: line6: drop CONFIG_LINE6_USB_RAW"), so remove it.
Signed-off-by: Gaosheng Cui cuigaosheng1@huawei.com --- sound/usb/line6/driver.h | 2 -- 1 file changed, 2 deletions(-)
diff --git a/sound/usb/line6/driver.h b/sound/usb/line6/driver.h index ecf3a2b39c7e..dbb1d90d3647 100644 --- a/sound/usb/line6/driver.h +++ b/sound/usb/line6/driver.h @@ -193,8 +193,6 @@ extern int line6_send_raw_message_async(struct usb_line6 *line6, const char *buffer, int size); extern int line6_send_sysex_message(struct usb_line6 *line6, const char *buffer, int size); -extern ssize_t line6_set_raw(struct device *dev, struct device_attribute *attr, - const char *buf, size_t count); extern int line6_version_request_async(struct usb_line6 *line6); extern int line6_write_data(struct usb_line6 *line6, unsigned address, void *data, unsigned datalen);
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 --- sound/core/memalloc_local.h | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/sound/core/memalloc_local.h b/sound/core/memalloc_local.h index a6f3a87194da..8b19f3a68a4b 100644 --- a/sound/core/memalloc_local.h +++ b/sound/core/memalloc_local.h @@ -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 */
On Fri, 09 Sep 2022 05:54:41 +0200, Gaosheng Cui wrote:
This series contains a few cleanup patches, to remove unused declarations which have been removed. Thanks!
Gaosheng Cui (2): ALSA: line6: remove line6_set_raw declaration ALSA: memalloc: remove snd_dma_sg_ops declaration
Thanks, applied both patches.
Takashi
participants (2)
-
Gaosheng Cui
-
Takashi Iwai