Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: oss: Remove unused declarations

These functions is never implemented and used.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Link: https://patch.msgid.link/20240816100209.879043-1-yuehaibing@huawei.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Yue Haibing and committed by
Takashi Iwai
c8a3231a d32cf9fb

-3
-3
sound/core/oss/pcm_plugin.h
··· 74 74 size_t extra, 75 75 struct snd_pcm_plugin **ret); 76 76 int snd_pcm_plugin_free(struct snd_pcm_plugin *plugin); 77 - int snd_pcm_plugin_clear(struct snd_pcm_plugin **first); 78 77 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames); 79 78 snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t drv_size); 80 79 snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t clt_size); ··· 138 139 size_t dst_offset, 139 140 size_t samples, snd_pcm_format_t format); 140 141 141 - void *snd_pcm_plug_buf_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t size); 142 - void snd_pcm_plug_buf_unlock(struct snd_pcm_substream *plug, void *ptr); 143 142 #else 144 143 145 144 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; }