mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] ALSA: oss: Remove unused declarations
@ 2024-08-16 10:02 Yue Haibing
  2024-08-16 10:28 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Yue Haibing @ 2024-08-16 10:02 UTC (permalink / raw)
  To: perex, tiwai, yuehaibing; +Cc: linux-sound, linux-kernel

These functions is never implemented and used.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 sound/core/oss/pcm_plugin.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sound/core/oss/pcm_plugin.h b/sound/core/oss/pcm_plugin.h
index 55035dbf23f0..7b76cf64157e 100644
--- a/sound/core/oss/pcm_plugin.h
+++ b/sound/core/oss/pcm_plugin.h
@@ -74,7 +74,6 @@ int snd_pcm_plugin_build(struct snd_pcm_substream *handle,
                          size_t extra,
                          struct snd_pcm_plugin **ret);
 int snd_pcm_plugin_free(struct snd_pcm_plugin *plugin);
-int snd_pcm_plugin_clear(struct snd_pcm_plugin **first);
 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames);
 snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t drv_size);
 snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t clt_size);
@@ -139,8 +138,6 @@ int snd_pcm_area_copy(const struct snd_pcm_channel_area *src_channel,
 		      size_t dst_offset,
 		      size_t samples, snd_pcm_format_t format);
 
-void *snd_pcm_plug_buf_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t size);
-void snd_pcm_plug_buf_unlock(struct snd_pcm_substream *plug, void *ptr);
 #else
 
 static inline snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t drv_size) { return drv_size; }
-- 
2.34.1


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

* Re: [PATCH -next] ALSA: oss: Remove unused declarations
  2024-08-16 10:02 [PATCH -next] ALSA: oss: Remove unused declarations Yue Haibing
@ 2024-08-16 10:28 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2024-08-16 10:28 UTC (permalink / raw)
  To: Yue Haibing; +Cc: perex, tiwai, linux-sound, linux-kernel

On Fri, 16 Aug 2024 12:02:09 +0200,
Yue Haibing wrote:
> 
> These functions is never implemented and used.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>

Thanks, applied.


Takashi

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

end of thread, other threads:[~2024-08-16 10:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-16 10:02 [PATCH -next] ALSA: oss: Remove unused declarations Yue Haibing
2024-08-16 10:28 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®