default: case shouldn't set an error yet either.

This commit is contained in:
Warner Losh 2004-09-16 06:37:05 +00:00
parent 7964bd0c70
commit f6ddde7cfa

View File

@ -159,7 +159,6 @@ fdc_acpi_attach(device_t dev)
break; break;
default: default:
device_printf(dev, "invalid _FDE type %d\n", obj->Type); device_printf(dev, "invalid _FDE type %d\n", obj->Type);
error = ENXIO;
goto out; goto out;
} }
error = fdc_acpi_probe_children(bus, dev, fde); error = fdc_acpi_probe_children(bus, dev, fde);