summaryrefslogtreecommitdiff
path: root/sound/isa/msnd/msnd.h
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2025-05-11 18:29:57 +0100
committerTakashi Iwai <tiwai@suse.de>2025-05-12 09:55:09 +0200
commit174d966428dec4efcfaabbe6173a854cc2a7c076 (patch)
tree83ebc88bc6f395d96482af4b16c80a52cedcc789 /sound/isa/msnd/msnd.h
parentb95a1e89c7550fc0e131f4e1346d5603b9e32a4d (diff)
downloadlinux-next-174d966428dec4efcfaabbe6173a854cc2a7c076.tar.gz
linux-next-174d966428dec4efcfaabbe6173a854cc2a7c076.zip
ALSA: msnd: Remove midi code
Nothing calls snd_msndmidi_new() thus nothing sets chip->msndmidi_mpu The call to snd_msndmidi_input_read is gated on that being set, so snd_msndmidi_input_read() won't be called either. This is probably a missing call to snd_msndmidi_new(), but since this is ancient code, it's probably best to remove it (especially since I don't have the hardware to test it). Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Link: https://patch.msgid.link/20250511172957.1001583-1-linux@treblig.org Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/msnd/msnd.h')
-rw-r--r--sound/isa/msnd/msnd.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/isa/msnd/msnd.h b/sound/isa/msnd/msnd.h
index 533d71cee9ba..3d7810ed9186 100644
--- a/sound/isa/msnd/msnd.h
+++ b/sound/isa/msnd/msnd.h
@@ -216,7 +216,6 @@ struct snd_msnd {
int captureLimit;
int capturePeriods;
struct snd_card *card;
- void *msndmidi_mpu;
struct snd_rawmidi *rmidi;
/* Hardware resources */
@@ -286,9 +285,6 @@ int snd_msnd_DAPQ(struct snd_msnd *chip, int start);
int snd_msnd_DARQ(struct snd_msnd *chip, int start);
int snd_msnd_pcm(struct snd_card *card, int device);
-int snd_msndmidi_new(struct snd_card *card, int device);
-void snd_msndmidi_input_read(void *mpu);
-
void snd_msndmix_setup(struct snd_msnd *chip);
int snd_msndmix_new(struct snd_card *card);
int snd_msndmix_force_recsrc(struct snd_msnd *chip, int recsrc);