diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 2001-07-09 20:50:41 +0000 |
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 2001-07-09 20:50:41 +0000 |
| commit | e3b525a006f661532bf0b4e1190f915df89cb413 (patch) | |
| tree | 4dbe747869377040cab1e7f1a374c5b87f8197d0 /sys | |
| parent | 3fef646ef00efd3261063b8840753dc6000c1495 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/fdc/fdc.c | 7 | ||||
| -rw-r--r-- | sys/isa/fd.c | 7 |
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); } |
