Date: Sun, 4 Dec 2022 04:39:24 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 3df86732afed - main - stand/efi: Remove redundant parenthesis Message-ID: <202212040439.2B44dOEH074129@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212040439.2B44dOEH074129>