]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: gus: Remove deadcode
authorDr. David Alan Gilbert <linux@treblig.org>
Thu, 8 May 2025 00:02:25 +0000 (01:02 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 8 May 2025 09:52:25 +0000 (11:52 +0200)
commit5d51fdd122d7dcb1e1f7ef8ccd13d258bfd0b6b8
treeb52ca2b5e48d36b716b290a62dcdcdc41d2ac168
parent28a09d9e42c500204fd79e91f40434b16b4c9372
ALSA: gus: Remove deadcode

snd_gus_use_dec(), snd_gus_use_inc() and snd_gf1_print_voice_registers()
last uses were removed in 2007 by
commit e5723b41abe5 ("[ALSA] Remove sequencer instrument layer")

Remove them.

While there, remove big #if 0 blocks next to the code being deleted.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Link: https://patch.msgid.link/20250508000225.195766-1-linux@treblig.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/gus.h
sound/isa/gus/gus_io.c
sound/isa/gus/gus_main.c