[Midnightbsd-cvs] src [8837] trunk/sys/kern/subr_bus.c: remove hack..
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Mon Sep 26 00:03:32 EDT 2016
Revision: 8837
http://svnweb.midnightbsd.org/src/?rev=8837
Author: laffer1
Date: 2016-09-26 00:03:32 -0400 (Mon, 26 Sep 2016)
Log Message:
-----------
remove hack.. we support this now.
Modified Paths:
--------------
trunk/sys/kern/subr_bus.c
Modified: trunk/sys/kern/subr_bus.c
===================================================================
--- trunk/sys/kern/subr_bus.c 2016-09-26 04:02:26 UTC (rev 8836)
+++ trunk/sys/kern/subr_bus.c 2016-09-26 04:03:32 UTC (rev 8837)
@@ -1873,9 +1873,8 @@
return (error);
if (child->devclass)
devclass_delete_device(child->devclass, child);
-/*XXX: LAH if (child->parent)
+ if (child->parent)
BUS_CHILD_DELETED(dev, child);
-*/
TAILQ_REMOVE(&dev->children, child, link);
TAILQ_REMOVE(&bus_data_devices, child, devlink);
kobj_delete((kobj_t) child, M_BUS);
More information about the Midnightbsd-cvs
mailing list