projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab865a8
)
efi_loader: missing parentheses after if
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Sun, 27 Dec 2020 14:33:09 +0000
(15:33 +0100)
committer
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Tue, 29 Dec 2020 01:09:04 +0000
(
02:09
+0100)
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>
lib/efi_loader/efi_boottime.c
patch
|
blob
|
history
diff --git
a/lib/efi_loader/efi_boottime.c
b/lib/efi_loader/efi_boottime.c
index 246b59d3b354bc037766b29af2c5d67e8c51abc9..32bdb81914ee0cd9223396be1ca190382eb21428 100644
(file)
--- 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);