git: 4a2d1532e841 - main - sound: Get rid of unused midi/midi.c defines

From: Christos Margiolis <christos_at_FreeBSD.org>
Date: Fri, 02 Jan 2026 16:58:35 UTC
The branch main has been updated by christos:

URL: https://cgit.FreeBSD.org/src/commit/?id=4a2d1532e84135a50ba8414ceaafc0c3a1bfe94b

commit 4a2d1532e84135a50ba8414ceaafc0c3a1bfe94b
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-01-02 16:56:55 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-01-02 16:58:06 +0000

    sound: Get rid of unused midi/midi.c defines
    
    No functional change intended.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
---
 sys/dev/sound/midi/midi.c | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/sys/dev/sound/midi/midi.c b/sys/dev/sound/midi/midi.c
index 542282d81842..e0a782bc9a22 100644
--- a/sys/dev/sound/midi/midi.c
+++ b/sys/dev/sound/midi/midi.c
@@ -185,19 +185,6 @@ midi_uninit(struct snd_midi *m)
 	return (0);
 }
 
-#ifdef notdef
-static int midi_lengths[] = {2, 2, 2, 2, 1, 1, 2, 0};
-
-#endif					/* notdef */
-/* Number of bytes in a MIDI command */
-#define MIDI_LENGTH(d) (midi_lengths[((d) >> 4) & 7])
-#define MIDI_ACK	0xfe
-#define MIDI_IS_STATUS(d) ((d) >= 0x80)
-#define MIDI_IS_COMMON(d) ((d) >= 0xf0)
-
-#define MIDI_SYSEX_START	0xF0
-#define MIDI_SYSEX_END	    0xF7
-
 /*
  * midi_in: process all data until the queue is full, then discards the rest.
  * Since midi_in is a state machine, data discards can cause it to get out of