git: 3f8a85a085c7 - main - sound: Get rid of unused MIDIQ macros
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Jan 2026 16:58:38 UTC
The branch main has been updated by christos:
URL: https://cgit.FreeBSD.org/src/commit/?id=3f8a85a085c710f50b8bcd4efe915268882129d2
commit 3f8a85a085c710f50b8bcd4efe915268882129d2
Author: Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-01-02 16:57:03 +0000
Commit: Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-01-02 16:58:06 +0000
sound: Get rid of unused MIDIQ macros
No functional change intended.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
---
sys/dev/sound/midi/midiq.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/sys/dev/sound/midi/midiq.h b/sys/dev/sound/midi/midiq.h
index 27958ff4c23e..80825974283e 100644
--- a/sys/dev/sound/midi/midiq.h
+++ b/sys/dev/sound/midi/midiq.h
@@ -83,7 +83,5 @@ struct name { \
#define MIDIQ_CLEAR(head) ((head).h = (head).t = 0)
#define MIDIQ_BUF(head) ((head).b)
#define MIDIQ_DEQ(head, buf, size) MIDIQ_DEQ_I(head, buf, size, 1, 1)
-#define MIDIQ_PEEK(head, buf, size) MIDIQ_DEQ_I(head, buf, size, 1, 0)
-#define MIDIQ_POP(head, size) MIDIQ_DEQ_I(head, &head, size, 0, 1)
#endif