Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150144661
D34997.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
512 B
Referenced Files
None
Subscribers
None
D34997.id.diff
View Options
diff --git a/sys/dev/sound/pcm/sound.c b/sys/dev/sound/pcm/sound.c
--- a/sys/dev/sound/pcm/sound.c
+++ b/sys/dev/sound/pcm/sound.c
@@ -1425,12 +1425,9 @@
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 @@
}
return ret;
-#endif
}
DEV_MODULE(sound, sound_modevent, NULL);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 30, 6:48 PM (11 h, 58 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30596328
Default Alt Text
D34997.id.diff (512 B)
Attached To
Mode
D34997: pcm: Remove dead code from sound_modevent.
Attached
Detach File
Event Timeline
Log In to Comment