]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: missing parentheses after if
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 27 Dec 2020 14:33:09 +0000 (15:33 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 31 Dec 2020 13:33:07 +0000 (14:33 +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

index 03053e8660db1820c4cd138f918bf82b4ddc0b6e..3ab5eb5ccc2f3e59009617d96e2fba0c9dec3c4e 100644 (file)
@@ -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);