From cd5038b62ec2a256e5f85c67358f7b73a4d4c22b Mon Sep 17 00:00:00 2001 From: Andriy Gapon Date: Fri, 24 Sep 2021 19:26:06 +0300 Subject: [PATCH] mmc_fdt_parse: remove redundant bootverbose check (cherry picked from commit 43ca38eb59ff194fb6d8ad589e74147d94717bf4) --- sys/dev/mmc/mmc_fdt_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/mmc/mmc_fdt_helpers.c b/sys/dev/mmc/mmc_fdt_helpers.c index 56d6037f86f..30538ea20ca 100644 --- a/sys/dev/mmc/mmc_fdt_helpers.c +++ b/sys/dev/mmc/mmc_fdt_helpers.c @@ -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"); }