git: 4c05ff1d5ad2 - main - sound: Remove KOBJMETHOD_END re-definitions

From: Christos Margiolis <christos_at_FreeBSD.org>
Date: Wed, 12 Nov 2025 20:31:13 UTC
The branch main has been updated by christos:

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

commit 4c05ff1d5ad206d6074151f747a1dd272487555c
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2025-11-12 20:30:58 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2025-11-12 20:30:58 +0000

    sound: Remove KOBJMETHOD_END re-definitions
    
    No functional change intended.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Reviewed by:    markj, emaste
    Differential Revision:  https://reviews.freebsd.org/D53696
---
 sys/dev/sound/midi/midi.c   | 4 ----
 sys/dev/sound/midi/mpu401.c | 4 ----
 sys/dev/sound/pcm/sound.h   | 4 ----
 3 files changed, 12 deletions(-)

diff --git a/sys/dev/sound/midi/midi.c b/sys/dev/sound/midi/midi.c
index 6753f864ba9c..eed7ce89a919 100644
--- a/sys/dev/sound/midi/midi.c
+++ b/sys/dev/sound/midi/midi.c
@@ -62,10 +62,6 @@
 #include <dev/sound/midi/midiq.h>
 MALLOC_DEFINE(M_MIDI, "midi buffers", "Midi data allocation area");
 
-#ifndef KOBJMETHOD_END
-#define KOBJMETHOD_END	{ NULL, NULL }
-#endif
-
 #define MIDI_DEV_MIDICTL 12
 
 enum midi_states {
diff --git a/sys/dev/sound/midi/mpu401.c b/sys/dev/sound/midi/mpu401.c
index 224ebb1b01f4..af3149ec8180 100644
--- a/sys/dev/sound/midi/mpu401.c
+++ b/sys/dev/sound/midi/mpu401.c
@@ -49,10 +49,6 @@
 #include "mpu_if.h"
 #include "mpufoi_if.h"
 
-#ifndef KOBJMETHOD_END
-#define KOBJMETHOD_END	{ NULL, NULL }
-#endif
-
 #define MPU_DATAPORT   0
 #define MPU_CMDPORT    1
 #define MPU_STATPORT   1
diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h
index 75fb57e33733..c5107d5fba1c 100644
--- a/sys/dev/sound/pcm/sound.h
+++ b/sys/dev/sound/pcm/sound.h
@@ -76,10 +76,6 @@
 #include <sys/mutex.h>
 #include <sys/condvar.h>
 
-#ifndef KOBJMETHOD_END
-#define KOBJMETHOD_END	{ NULL, NULL }
-#endif
-
 struct pcm_channel;
 struct pcm_feeder;
 struct snd_dbuf;