summaryrefslogtreecommitdiff
path: root/sys/dev/fdc/fdc.c
diff options
context:
space:
mode:
authorNate Lawson <njl@FreeBSD.org>2004-10-14 22:21:59 +0000
committerNate Lawson <njl@FreeBSD.org>2004-10-14 22:21:59 +0000
commite5979322ba19bf6972057bbd2020b03d31f0120e (patch)
tree0f9116b3f1c78782e732cdc488fb4b329d06e0b3 /sys/dev/fdc/fdc.c
parentd749cd6f7c530ad3e705436f0221a8435d69620e (diff)
Notes
Diffstat (limited to 'sys/dev/fdc/fdc.c')
-rw-r--r--sys/dev/fdc/fdc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index 8afaadd79a28..c17e5f22a46c 100644
--- a/sys/dev/fdc/fdc.c
+++ b/sys/dev/fdc/fdc.c
@@ -1697,8 +1697,6 @@ fdc_add_child(device_t dev, const char *name, int unit)
device_set_ivars(child, ivar);
ivar->fdunit = unit;
ivar->fdtype = FDT_NONE;
- if (resource_int_value(name, unit, "flags", &flags) == 0)
- device_set_flags(child, flags);
if (resource_disabled(name, unit))
device_disable(child);
return (child);