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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135294

View File

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