diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-04-21 17:29:14 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-04-21 17:29:14 +0000 |
commit | 8109ec9d894a0fe7ccbbf627aeb7b111c337266e (patch) | |
tree | 6d9ffd7f36bea438bfb89afedf86ad1fb3524d65 | |
parent | 489e8f24a57f76439fce5021d4945328fc868ad2 (diff) |
pcm: Remove dead code from sound_modevent.
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D34997
-rw-r--r-- | sys/dev/sound/pcm/sound.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/sound/pcm/sound.c b/sys/dev/sound/pcm/sound.c index 4b55e798cb80..b94ed8e943bb 100644 --- a/sys/dev/sound/pcm/sound.c +++ b/sys/dev/sound/pcm/sound.c @@ -1425,12 +1425,9 @@ static int sound_modevent(module_t mod, int type, void *data) { int ret; -#if 0 - return (midi_modevent(mod, type, data)); -#else - ret = 0; - switch(type) { + ret = 0; + switch (type) { case MOD_LOAD: pcmsg_unrhdr = new_unrhdr(1, INT_MAX, NULL); break; @@ -1447,7 +1444,6 @@ sound_modevent(module_t mod, int type, void *data) } return ret; -#endif } DEV_MODULE(sound, sound_modevent, NULL); |