default: case shouldn't set an error yet either.
This commit is contained in:
parent
7964bd0c70
commit
f6ddde7cfa
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user