[PATCH -next] ALSA: gus: Remove unused declarations

Yue Haibing posted 1 patch 2 months, 3 weeks ago
sound/isa/gus/gus_reset.c | 3 ---
1 file changed, 3 deletions(-)
[PATCH -next] ALSA: gus: Remove unused declarations
Posted by Yue Haibing 2 months, 3 weeks ago
snd_gf1_synth_init() and snd_gf1_synth_done() were declared but never
implenmented and used since the beginning of kernel git history.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 sound/isa/gus/gus_reset.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sound/isa/gus/gus_reset.c b/sound/isa/gus/gus_reset.c
index 5cbace8369f8..a7a3e764bb77 100644
--- a/sound/isa/gus/gus_reset.c
+++ b/sound/isa/gus/gus_reset.c
@@ -9,9 +9,6 @@
 #include <sound/core.h>
 #include <sound/gus.h>
 
-extern int snd_gf1_synth_init(struct snd_gus_card * gus);
-extern void snd_gf1_synth_done(struct snd_gus_card * gus);
-
 /*
  *  ok.. default interrupt handlers...
  */
-- 
2.34.1
Re: [PATCH -next] ALSA: gus: Remove unused declarations
Posted by Takashi Iwai 2 months, 3 weeks ago
On Wed, 12 Nov 2025 10:20:07 +0100,
Yue Haibing wrote:
> 
> snd_gf1_synth_init() and snd_gf1_synth_done() were declared but never
> implenmented and used since the beginning of kernel git history.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>

Thanks, applied now to for-next branch.


Takashi