aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-12-27 15:33:09 +0100
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-12-31 14:33:07 +0100
commitdb6288de85dce4482712ac5ed59d78ef22cd9ab6 (patch)
treec259cc4f10adad857113709d007d2dd8a30e975f
parentc0029e4e25c10d627f4bff62cdb4074bb2c7eaf7 (diff)
downloadu-boot-db6288de85dce4482712ac5ed59d78ef22cd9ab6.zip
u-boot-db6288de85dce4482712ac5ed59d78ef22cd9ab6.tar.gz
u-boot-db6288de85dce4482712ac5ed59d78ef22cd9ab6.tar.bz2
efi_loader: missing parentheses after if
IS_ENABLED() contains parentheses. But we should still put extra parentheses around it in an if statement for readability. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
-rw-r--r--lib/efi_loader/efi_boottime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
index 03053e8..3ab5eb5 100644
--- a/lib/efi_loader/efi_boottime.c
+++ b/lib/efi_loader/efi_boottime.c
@@ -2161,7 +2161,7 @@ static efi_status_t EFIAPI efi_exit_boot_services(efi_handle_t image_handle,
}
if (!efi_st_keep_devices) {
- if IS_ENABLED(CONFIG_USB_DEVICE)
+ if (IS_ENABLED(CONFIG_USB_DEVICE))
udc_disconnect();
board_quiesce_devices();
dm_remove_devices_flags(DM_REMOVE_ACTIVE_ALL);