diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-12-27 15:33:09 +0100 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-12-29 02:09:04 +0100 |
commit | 5f9b53753118ade7b502bce9866ea527a8a86372 (patch) | |
tree | b84aca0bdb5cb4c46621c31ba802e8ee7b8d0c94 | |
parent | ab865a8ee5c1a069f72a171270c02c99ccda7bfa (diff) | |
download | u-boot-5f9b53753118ade7b502bce9866ea527a8a86372.zip u-boot-5f9b53753118ade7b502bce9866ea527a8a86372.tar.gz u-boot-5f9b53753118ade7b502bce9866ea527a8a86372.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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index 246b59d..32bdb81 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c @@ -2000,7 +2000,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); |