From nobody Tue Jan 24 22:13:45 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P1h7s3vYCz3bgbx; Tue, 24 Jan 2023 22:13:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P1h7s2M6kz3JBS; Tue, 24 Jan 2023 22:13:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674598425; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=h2QuMQeeZV6xMVA3ijGbYEpWbrheLSXePTrBxiXlV6c=; b=bG5WJp5pMDh6DHW2ZThBNiJPPLvXmHfO6xcHluyHvvuloYIg7LUSX7qi0IvtdYoPIgYxQj azB2N6AFLO3Spd38luDMOIEgEHMEa/numxHPO0Vpd1o88OdYmn7ru/9mG2GFg4DwN9fpqq Lfo5Hl0QetVyvNwiboJSy82XvCF8RjyxI7JyLpJqeMI9pKvkmuYXMJuObj6eS6JgzIwSNm 3DiItQWtTFRAVACAvCtGoXVFU/2sZ5oZcPh701ski01uHebkWrFKHOPwMhUSQenCoI1L0O KTU+FneeRLRlfVGB4rKeJYa9vaNSdpZQFyViIQnAKyaI4V6LpotsuZaFIHWsdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674598425; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=h2QuMQeeZV6xMVA3ijGbYEpWbrheLSXePTrBxiXlV6c=; b=nNVpwg3xYBchNaO1WqwNy6o63Y+un3q27kElPDCUetSrO9xGB/8+devJzfQf6WUZnSxpCN Qn3lkJ45tpS/telwm4qLRappeietxflhdvPjS3FOrTcKKk/sprMJgbkQu7m9KdDslT/Pvj Z6yTTYtf+PQkCT+y5Scjodejx0wqaB/kHJ7hY29dkaaprdaH3mHputIIFZTB4P04P3ic3v 8bPxIH3uQpvJEUgh5YHTsIaN3WlTRHi5PFIDoLNykOJwOQPC8U1Q6Ilh4nsBFyRwA0fdfd hp3z0EQT12zSFvs4u6s1hUNJgMZmhHRzU9cEmtA3LMXmQrHWpdMLrXzC4sHqRQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674598425; a=rsa-sha256; cv=none; b=ceOx4xek9GfZGR4zJn6DLB9t8854f/l06C9vYCKezju6VciVy/GUHePYd3usZCtKmsMkeX ZfmVlNHb9rxblIcba7//bgSuY9HuCJbbVKML9xSKPDxmBisRrmPxg2+/gjiN/uti2XDJv8 6oYjre/vAJQHGRs1BjFVISfpBhw2DZe9BxF3xB3Few2uDG0hEyET4gxSRfrG+rZQlJ3eXG NkY0WCMfiJ7Sk92kOmkkfSNANQqLf4lWX6N3LbwVDdV32lm0KPyIcSKDDcT+2xKRFj3rq0 MKd7nIy3YFsAn7rjC4AMG+J6bvwyVWDXeLFP+6VoUvV00s5z8DMH2LnbH23qRw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P1h7s1RqxzQfW; Tue, 24 Jan 2023 22:13:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30OMDj1a088860; Tue, 24 Jan 2023 22:13:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30OMDjf2088859; Tue, 24 Jan 2023 22:13:45 GMT (envelope-from git) Date: Tue, 24 Jan 2023 22:13:45 GMT Message-Id: <202301242213.30OMDjf2088859@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: 495986b63bf1 - stable/13 - stand/efi: Remove redundant parenthesis List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 495986b63bf1e6e539e8accb24168503b96ed2f1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=495986b63bf1e6e539e8accb24168503b96ed2f1 commit 495986b63bf1e6e539e8accb24168503b96ed2f1 Author: Warner Losh AuthorDate: 2022-12-04 00:23:20 +0000 Commit: Warner Losh 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; }