diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 8e83464d5..1a63f6185 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -780,8 +780,7 @@ int mmc_part_switch_current_boot(void) unsigned char current_boot_part = mmc_current_boot_part(); int ret; - if (current_boot_part != 1U && - current_boot_part != 2U) { + if ((current_boot_part != 1U) && (current_boot_part != 2U)) { ERROR("Got unexpected value for active boot partition, %u\n", current_boot_part); return -EIO; }