summaryrefslogtreecommitdiffstats
path: root/sys/isa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/fd.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/isa/fd.c b/sys/isa/fd.c
index cf9a738..8a09707 100644
--- a/sys/isa/fd.c
+++ b/sys/isa/fd.c
@@ -888,13 +888,6 @@ fdc_attach(device_t dev)
if ((error = bus_generic_attach(dev)) != 0)
return (error);
- /* Now remove all children not successfully probed (if any). */
- if ((error = device_get_children(dev, &children, &nchildren)) != 0)
- return (error);
- for (i = 0; i < nchildren; i++)
- if (!device_is_alive(children[i]))
- device_delete_child(dev, children[i]);
-
return (0);
}
OpenPOWER on IntegriCloud