* [PATCH 0/2] Remove unused declarations
@ 2022-09-09 3:54 ` Gaosheng Cui
0 siblings, 0 replies; 8+ messages in thread
From: Gaosheng Cui @ 2022-09-09 3:54 UTC (permalink / raw)
To: perex, tiwai, johan, stefanha, dhowells, cuigaosheng1
Cc: alsa-devel, linux-kernel
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(-)
--
2.25.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 0/2] Remove unused declarations
@ 2022-09-09 3:54 ` Gaosheng Cui
0 siblings, 0 replies; 8+ messages in thread
From: Gaosheng Cui @ 2022-09-09 3:54 UTC (permalink / raw)
To: perex, tiwai, johan, stefanha, dhowells, cuigaosheng1
Cc: alsa-devel, linux-kernel
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(-)
--
2.25.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/2] ALSA: line6: remove line6_set_raw declaration
2022-09-09 3:54 ` Gaosheng Cui
@ 2022-09-09 3:54 ` Gaosheng Cui
-1 siblings, 0 replies; 8+ messages in thread
From: Gaosheng Cui @ 2022-09-09 3:54 UTC (permalink / raw)
To: perex, tiwai, johan, stefanha, dhowells, cuigaosheng1
Cc: alsa-devel, linux-kernel
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);
--
2.25.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 1/2] ALSA: line6: remove line6_set_raw declaration
@ 2022-09-09 3:54 ` Gaosheng Cui
0 siblings, 0 replies; 8+ messages in thread
From: Gaosheng Cui @ 2022-09-09 3:54 UTC (permalink / raw)
To: perex, tiwai, johan, stefanha, dhowells, cuigaosheng1
Cc: alsa-devel, linux-kernel
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);
--
2.25.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/2] ALSA: memalloc: remove snd_dma_sg_ops declaration
2022-09-09 3:54 ` Gaosheng Cui
@ 2022-09-09 3:54 ` Gaosheng Cui
-1 siblings, 0 replies; 8+ messages in thread
From: Gaosheng Cui @ 2022-09-09 3:54 UTC (permalink / raw)
To: perex, tiwai, johan, stefanha, dhowells, cuigaosheng1
Cc: alsa-devel, linux-kernel
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 */
--
2.25.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/2] ALSA: memalloc: remove snd_dma_sg_ops declaration
@ 2022-09-09 3:54 ` Gaosheng Cui
0 siblings, 0 replies; 8+ messages in thread
From: Gaosheng Cui @ 2022-09-09 3:54 UTC (permalink / raw)
To: perex, tiwai, johan, stefanha, dhowells, cuigaosheng1
Cc: alsa-devel, linux-kernel
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 */
--
2.25.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 0/2] Remove unused declarations
2022-09-09 3:54 ` Gaosheng Cui
@ 2022-09-09 7:10 ` Takashi Iwai
-1 siblings, 0 replies; 8+ messages in thread
From: Takashi Iwai @ 2022-09-09 7:10 UTC (permalink / raw)
To: Gaosheng Cui
Cc: perex, tiwai, johan, stefanha, dhowells, alsa-devel, linux-kernel
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 0/2] Remove unused declarations
@ 2022-09-09 7:10 ` Takashi Iwai
0 siblings, 0 replies; 8+ messages in thread
From: Takashi Iwai @ 2022-09-09 7:10 UTC (permalink / raw)
To: Gaosheng Cui; +Cc: alsa-devel, stefanha, johan, tiwai, dhowells, linux-kernel
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
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-09-09 7:11 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-09 3:54 [PATCH 0/2] Remove unused declarations Gaosheng Cui
2022-09-09 3:54 ` Gaosheng Cui
2022-09-09 3:54 ` [PATCH 1/2] ALSA: line6: remove line6_set_raw declaration Gaosheng Cui
2022-09-09 3:54 ` Gaosheng Cui
2022-09-09 3:54 ` [PATCH 2/2] ALSA: memalloc: remove snd_dma_sg_ops declaration Gaosheng Cui
2022-09-09 3:54 ` Gaosheng Cui
2022-09-09 7:10 ` [PATCH 0/2] Remove unused declarations Takashi Iwai
2022-09-09 7:10 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.