git: 3df86732afed - main - stand/efi: Remove redundant parenthesis
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Dec 2022 04:39:24 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=3df86732afed7cea51934d613f8aa43b87787cc1 commit 3df86732afed7cea51934d613f8aa43b87787cc1 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-12-04 00:23:20 +0000 Commit: Warner Losh <imp@FreeBSD.org> 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; }