Date: Fri, 09 Jan 2026 23:27:59 +0000 From: Christos Margiolis <christos@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 209cfbb4a9f7 - stable/15 - sound: Get rid of unused midi/midi.c defines Message-ID: <69618eff.30fec.1bdacb83@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=209cfbb4a9f721748e5d512807107e95b69198d1 commit 209cfbb4a9f721748e5d512807107e95b69198d1 Author: Christos Margiolis <christos@FreeBSD.org> AuthorDate: 2026-01-02 16:56:55 +0000 Commit: Christos Margiolis <christos@FreeBSD.org> CommitDate: 2026-01-09 23:27:24 +0000 sound: Get rid of unused midi/midi.c defines No functional change intended. Sponsored by: The FreeBSD Foundation MFC after: 1 week (cherry picked from commit 4a2d1532e84135a50ba8414ceaafc0c3a1bfe94b) --- 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 ofhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69618eff.30fec.1bdacb83>
