Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2023 22:13:45 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 495986b63bf1 - stable/13 - stand/efi: Remove redundant parenthesis
Message-ID:  <202301242213.30OMDjf2088859@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=495986b63bf1e6e539e8accb24168503b96ed2f1

commit 495986b63bf1e6e539e8accb24168503b96ed2f1
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-12-04 00:23:20 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-01-24 21:49:42 +0000

    stand/efi: Remove redundant parenthesis
    
    Style: Remove redundant parens.
    
    Sponsored by:           Netflix
    
    (cherry picked from commit 3df86732afed7cea51934d613f8aa43b87787cc1)
---
 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 b93f91dfaf15..8daa00660e17 100644
--- a/stand/efi/loader/bootinfo.c
+++ b/stand/efi/loader/bootinfo.c
@@ -357,7 +357,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?202301242213.30OMDjf2088859>