The branch main has been updated by imp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=3df86732afed7cea51934d613f8aa43b87787cc1

commit 3df86732afed7cea51934d613f8aa43b87787cc1
Author:     Warner Losh <[email protected]>
AuthorDate: 2022-12-04 00:23:20 +0000
Commit:     Warner Losh <[email protected]>
CommitDate: 2022-12-04 00:23:20 +0000

    stand/efi: Remove redundant parenthesis
    
    Style: Remove redundant parens.
    
    Sponsored by:           Netflix
---
 stand/efi/loader/bootinfo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stand/efi/loader/bootinfo.c b/stand/efi/loader/bootinfo.c
index a1081ec185ff..6e109fdba98f 100644
--- a/stand/efi/loader/bootinfo.c
+++ b/stand/efi/loader/bootinfo.c
@@ -355,7 +355,7 @@ bi_load(char *args, vm_offset_t *modulep, vm_offset_t 
*kernendp, bool exit_bs)
 
        addr = 0;
        for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) {
-               if (addr < (xp->f_addr + xp->f_size))
+               if (addr < xp->f_addr + xp->f_size)
                        addr = xp->f_addr + xp->f_size;
        }
 

Reply via email to