diff options
| author | Christos Margiolis <christos@FreeBSD.org> | 2025-11-12 20:30:58 +0000 |
|---|---|---|
| committer | Christos Margiolis <christos@FreeBSD.org> | 2025-11-12 20:30:58 +0000 |
| commit | 4c05ff1d5ad206d6074151f747a1dd272487555c (patch) | |
| tree | 9b98a339f3412f38bdfbe7a542c267f10910a9ab | |
| parent | 6a569666868b36f5f436eea9d66789b6df191b8a (diff) | |
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
| -rw-r--r-- | sys/dev/sound/midi/midi.c | 4 | ||||
| -rw-r--r-- | sys/dev/sound/midi/mpu401.c | 4 | ||||
| -rw-r--r-- | sys/dev/sound/pcm/sound.h | 4 |
3 files changed, 0 insertions, 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; |
