All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] ALSA: trident: Remove unused declarations
@ 2024-08-17  9:35 Yue Haibing
  2024-08-17 14:34 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Yue Haibing @ 2024-08-17  9:35 UTC (permalink / raw)
  To: perex, tiwai, yuehaibing; +Cc: linux-sound, linux-kernel

Commit 8bb8b453cb45 ("[ALSA] trident - clean up obsolete synth codes")
remove synth functions but leave declarations.
And Commit e5723b41abe5 ("[ALSA] Remove sequencer instrument layer")
left snd_trident_attach_synthesizer().

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 sound/pci/trident/trident.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/sound/pci/trident/trident.h b/sound/pci/trident/trident.h
index 9768a7fc2349..ed2d4eecc704 100644
--- a/sound/pci/trident/trident.h
+++ b/sound/pci/trident/trident.h
@@ -406,7 +406,6 @@ int snd_trident_create_gameport(struct snd_trident *trident);
 int snd_trident_pcm(struct snd_trident *trident, int device);
 int snd_trident_foldback_pcm(struct snd_trident *trident, int device);
 int snd_trident_spdif_pcm(struct snd_trident *trident, int device);
-int snd_trident_attach_synthesizer(struct snd_trident * trident);
 struct snd_trident_voice *snd_trident_alloc_voice(struct snd_trident * trident, int type,
 					     int client, int port);
 void snd_trident_free_voice(struct snd_trident * trident, struct snd_trident_voice *voice);
@@ -419,9 +418,5 @@ extern const struct dev_pm_ops snd_trident_pm;
 struct snd_util_memblk *snd_trident_alloc_pages(struct snd_trident *trident,
 						struct snd_pcm_substream *substream);
 int snd_trident_free_pages(struct snd_trident *trident, struct snd_util_memblk *blk);
-struct snd_util_memblk *snd_trident_synth_alloc(struct snd_trident *trident, unsigned int size);
-int snd_trident_synth_free(struct snd_trident *trident, struct snd_util_memblk *blk);
-int snd_trident_synth_copy_from_user(struct snd_trident *trident, struct snd_util_memblk *blk,
-				     int offset, const char __user *data, int size);
 
 #endif /* __SOUND_TRIDENT_H */
-- 
2.34.1


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

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

On Sat, 17 Aug 2024 11:35:27 +0200,
Yue Haibing wrote:
> 
> Commit 8bb8b453cb45 ("[ALSA] trident - clean up obsolete synth codes")
> remove synth functions but leave declarations.
> And Commit e5723b41abe5 ("[ALSA] Remove sequencer instrument layer")
> left snd_trident_attach_synthesizer().
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>

Applied now.  Thanks.


Takashi

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

end of thread, other threads:[~2024-08-17 14:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-17  9:35 [PATCH -next] ALSA: trident: Remove unused declarations Yue Haibing
2024-08-17 14:34 ` 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.