summaryrefslogtreecommitdiffstats
path: root/sys/i386/bios/vpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/bios/vpd.c')
-rw-r--r--sys/i386/bios/vpd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/i386/bios/vpd.c b/sys/i386/bios/vpd.c
index f816121..246b76d 100644
--- a/sys/i386/bios/vpd.c
+++ b/sys/i386/bios/vpd.c
@@ -248,12 +248,10 @@ vpd_modevent (mod, what, arg)
case MOD_LOAD:
break;
case MOD_UNLOAD:
- newbus_xlock();
devclass_get_devices(vpd_devclass, &devs, &count);
for (i = 0; i < count; i++) {
device_delete_child(device_get_parent(devs[i]), devs[i]);
}
- newbus_xunlock();
break;
default:
break;
OpenPOWER on IntegriCloud