summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/fdc/fdc.c3
-rw-r--r--sys/isa/fd.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index d450278..09d19d7 100644
--- a/sys/dev/fdc/fdc.c
+++ b/sys/dev/fdc/fdc.c
@@ -842,8 +842,7 @@ fdc_attach(device_t dev)
{
struct fdc_data *fdc;
const char *name, *dname;
- device_t *children;
- int i, error, dunit, nchildren;
+ int i, error, dunit;
fdc = device_get_softc(dev);
error = fdc_alloc_resources(fdc);
diff --git a/sys/isa/fd.c b/sys/isa/fd.c
index d450278..09d19d7 100644
--- a/sys/isa/fd.c
+++ b/sys/isa/fd.c
@@ -842,8 +842,7 @@ fdc_attach(device_t dev)
{
struct fdc_data *fdc;
const char *name, *dname;
- device_t *children;
- int i, error, dunit, nchildren;
+ int i, error, dunit;
fdc = device_get_softc(dev);
error = fdc_alloc_resources(fdc);
OpenPOWER on IntegriCloud