mmc_fdt_parse: remove redundant bootverbose check

This commit is contained in:
Andriy Gapon 2021-09-24 19:26:06 +03:00
parent ea7f45d3d8
commit 43ca38eb59

View file

@ -66,7 +66,7 @@ mmc_fdt_parse(device_t dev, phandle_t node, struct mmc_helper *helper,
device_printf(dev, "vmmc-supply regulator found\n");
}
if (regulator_get_by_ofw_property(dev, 0, "vqmmc-supply",
&helper->vqmmc_supply) == 0 && bootverbose) {
&helper->vqmmc_supply) == 0) {
if (bootverbose)
device_printf(dev, "vqmmc-supply regulator found\n");
}