Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153622939
D6410.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D6410.diff
View Options
Index: head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
===================================================================
--- head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
+++ head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
@@ -605,39 +605,6 @@
return (0);
}
-static void
-vmbus_mod_load(void)
-{
- if(bootverbose)
- printf("VMBUS: load\n");
-}
-
-static void
-vmbus_mod_unload(void)
-{
- if(bootverbose)
- printf("VMBUS: unload\n");
-}
-
-static int
-vmbus_modevent(module_t mod, int what, void *arg)
-{
- switch (what) {
-
- case MOD_LOAD:
-#ifdef EARLY_AP_STARTUP
- vmbus_init();
-#endif
- vmbus_mod_load();
- break;
- case MOD_UNLOAD:
- vmbus_mod_unload();
- break;
- }
-
- return (0);
-}
-
static device_method_t vmbus_methods[] = {
/** Device interface */
DEVMETHOD(device_probe, vmbus_probe),
@@ -664,7 +631,7 @@
devclass_t vmbus_devclass;
-DRIVER_MODULE(vmbus, acpi, vmbus_driver, vmbus_devclass, vmbus_modevent, 0);
+DRIVER_MODULE(vmbus, acpi, vmbus_driver, vmbus_devclass, NULL, NULL);
MODULE_DEPEND(vmbus, acpi, 1, 1, 1);
MODULE_VERSION(vmbus, 1);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 23, 10:21 AM (1 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32023337
Default Alt Text
D6410.diff (1 KB)
Attached To
Mode
D6410: hyperv/vmbus: Remove useless modevent handler
Attached
Detach File
Event Timeline
Log In to Comment