linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Remove unused declarations
@ 2022-09-09  3:54 Gaosheng Cui
  2022-09-09  3:54 ` [PATCH 1/2] ALSA: line6: remove line6_set_raw declaration Gaosheng Cui
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ 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] 6+ messages in thread

* [PATCH 1/2] ALSA: line6: remove line6_set_raw declaration
  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 2/2] ALSA: memalloc: remove snd_dma_sg_ops declaration Gaosheng Cui
  2022-09-09  7:10 ` [PATCH 0/2] Remove unused declarations Takashi Iwai
  2 siblings, 0 replies; 6+ 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] 6+ messages in thread

* [PATCH 2/2] ALSA: memalloc: remove snd_dma_sg_ops declaration
  2022-09-09  3:54 [PATCH 0/2] Remove unused declarations 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  7:10 ` [PATCH 0/2] Remove unused declarations Takashi Iwai
  2 siblings, 0 replies; 6+ 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] 6+ messages in thread

* Re: [PATCH 0/2] Remove unused declarations
  2022-09-09  3:54 [PATCH 0/2] Remove unused declarations Gaosheng Cui
  2022-09-09  3:54 ` [PATCH 1/2] ALSA: line6: remove line6_set_raw declaration Gaosheng Cui
  2022-09-09  3:54 ` [PATCH 2/2] ALSA: memalloc: remove snd_dma_sg_ops declaration Gaosheng Cui
@ 2022-09-09  7:10 ` Takashi Iwai
  2 siblings, 0 replies; 6+ 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] 6+ messages in thread

* Re: [PATCH 0/2] Remove unused declarations
  2022-09-09  4:45 Gaosheng Cui
@ 2022-09-09 13:30 ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 6+ messages in thread
From: Arnaldo Carvalho de Melo @ 2022-09-09 13:30 UTC (permalink / raw)
  To: Gaosheng Cui
  Cc: peterz, mingo, mark.rutland, alexander.shishkin, jolsa, namhyung,
	atrajeev, eranian, linux-perf-users, linux-kernel

Em Fri, Sep 09, 2022 at 12:45:40PM +0800, Gaosheng Cui escreveu:
> This series contains a few cleanup patches, to remove unused
> declarations which have been removed. Thanks!

Thanks, applied.

- Arnaldo

 
> Gaosheng Cui (2):
>   perf sort: remove hist_entry__sort_list and sort__first_dimension
>     declaration
>   perf tools: remove perf_pmu_lex declaration
> 
>  tools/perf/util/pmu.y  | 2 --
>  tools/perf/util/sort.h | 2 --
>  2 files changed, 4 deletions(-)
> 
> -- 
> 2.25.1

-- 

- Arnaldo

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 0/2] Remove unused declarations
@ 2022-09-09  4:45 Gaosheng Cui
  2022-09-09 13:30 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 6+ messages in thread
From: Gaosheng Cui @ 2022-09-09  4:45 UTC (permalink / raw)
  To: peterz, mingo, acme, mark.rutland, alexander.shishkin, jolsa,
	namhyung, atrajeev, eranian, cuigaosheng1
  Cc: linux-perf-users, linux-kernel

This series contains a few cleanup patches, to remove unused
declarations which have been removed. Thanks!

Gaosheng Cui (2):
  perf sort: remove hist_entry__sort_list and sort__first_dimension
    declaration
  perf tools: remove perf_pmu_lex declaration

 tools/perf/util/pmu.y  | 2 --
 tools/perf/util/sort.h | 2 --
 2 files changed, 4 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-09-09 13:30 UTC | newest]

Thread overview: 6+ 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 ` [PATCH 1/2] ALSA: line6: remove line6_set_raw declaration Gaosheng Cui
2022-09-09  3:54 ` [PATCH 2/2] ALSA: memalloc: remove snd_dma_sg_ops declaration Gaosheng Cui
2022-09-09  7:10 ` [PATCH 0/2] Remove unused declarations Takashi Iwai
2022-09-09  4:45 Gaosheng Cui
2022-09-09 13:30 ` Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).