aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2022-12-04 00:23:20 +0000
committerWarner Losh <imp@FreeBSD.org>2023-01-24 21:49:42 +0000
commit495986b63bf1e6e539e8accb24168503b96ed2f1 (patch)
tree29fed099515a9d82106956b11b786e10148bb34a
parent8bf162765f4268b31ac17e9fe398f69713752440 (diff)
downloadsrc-495986b63bf1e6e539e8accb24168503b96ed2f1.tar.gz
src-495986b63bf1e6e539e8accb24168503b96ed2f1.zip
stand/efi: Remove redundant parenthesis
Style: Remove redundant parens. Sponsored by: Netflix (cherry picked from commit 3df86732afed7cea51934d613f8aa43b87787cc1)
-rw-r--r--stand/efi/loader/bootinfo.c2
1 files changed, 1 insertions, 1 deletions
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;
}