mmc_fdt_parse: remove redundant bootverbose check

(cherry picked from commit 43ca38eb59ff194fb6d8ad589e74147d94717bf4)
This commit is contained in:
Andriy Gapon 2021-09-24 19:26:06 +03:00
parent 96b8d8a62b
commit cd5038b62e

View file

@ -67,7 +67,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");
}