git: 495986b63bf1 - stable/13 - stand/efi: Remove redundant parenthesis
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Jan 2023 22:13:45 UTC
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;
}