aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2001-07-09 20:50:41 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2001-07-09 20:50:41 +0000
commite3b525a006f661532bf0b4e1190f915df89cb413 (patch)
tree4dbe747869377040cab1e7f1a374c5b87f8197d0 /sys
parent3fef646ef00efd3261063b8840753dc6000c1495 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/fdc/fdc.c7
-rw-r--r--sys/isa/fd.c7
2 files changed, 0 insertions, 14 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index cf9a7387a052..8a09707db7aa 100644
--- a/sys/dev/fdc/fdc.c
+++ b/sys/dev/fdc/fdc.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);
}
diff --git a/sys/isa/fd.c b/sys/isa/fd.c
index cf9a7387a052..8a09707db7aa 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);
}