From nobody Sun Dec 04 04:39:24 2022 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 4NPv8s0F1Xz4jDvm; Sun, 4 Dec 2022 04:39:25 +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 4NPv8r6jr1z4Hk1; Sun, 4 Dec 2022 04:39:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670128764; 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=HmpQ88PPscZ50k+y0ciB1HckfiokNZWkyf8jwXN85sU=; b=AJOBws0VCSukb9pNRN08z30ZLhTH3XUr9Wy5Jjwh2GAKvsjvPesM2K1uZCfZoKcx+bx6Sw ZxZQ2FEJbFkc6Jr4QC/Fhso/Sshv04hm5ZnWdvYJk8kL8VFuHUYOymqAs10gB1z/jUoH0e HfLu6i4+t2BN073b+vOzluTzh+nGpMtiRZeMbY5CZiiF6K82tKFCrrX1wqufkVt3+mFui9 ZNn4Z9SdsXa5c7BnCf55JIrpXR+tYtNRKZJVNZaGEns9jhu4mtQtSzY1p2SY8cV6D90GQ8 WURcBs3qZjsTsWGzEtaJqHdCQx02GwZtTwQ0LReG7GiFMX5M1x108xVjjTfisg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670128764; 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=HmpQ88PPscZ50k+y0ciB1HckfiokNZWkyf8jwXN85sU=; b=tDP8AxvAuShClkjKIx5IC6wrKyZmQb4b843OxNA7sMCzjMS1VugXJDbYcoTWyVsRGwZjbf joLavtD5GICYHDTh1a5pBE9eZ+K/K58C3ITGFxaK/UAC1WeqInxcOucZADotS0Ehwdm0gy rPVW+MAdFQbaS6PfBHvvkWT3pVNjpgOBlIZ8DR7vHQTZjCat6ZMmIRNnRZIRMneeo3YN5C D7F3y9rIofJijOz8ZdQKiHgoBhjoYMVZtshNUA9RDOgUkuEEVYrZtvxGgJkEhlZzOnBgip SG60+fzXB2gkRKed7YZce3YYU56SJj2eYrmBlN1Igo6z8qwWkFULuoBfnB1p5g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670128764; a=rsa-sha256; cv=none; b=Rr4uuulXPXGzdwNMRsdx57Bv5jhr0SBtkXpf3OcGmmOVhYERKmuh/4VAAM8LjsRYWj3lSA C849uHb0W8FEmEEl3Anqnh65tCkHmli8S8xUJPMP8kGPwsS/soWaHqEb3I4GMfDmqMnZ/Z NrVncMNsr4WIGFxynj6HFmuhZa4QAeboLlXc46doMku5lQysCLz8iLZUxvKYYHoZtVdKZD mxNdzwtK8w+aT+hQimxp5bA6DbjwbnXSv1ZriiFAwxINJU3kd3H/tY1VSeKpQO+2CTib/3 uZM4hF88RG397Y8W8mzcJZ2a3pxoTAoaZ4ZYeDi+aVZgN9f3VGXov1LIO5Si6w== 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 4NPv8r5qlxz1L9R; Sun, 4 Dec 2022 04:39:24 +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 2B44dO41074130; Sun, 4 Dec 2022 04:39:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2B44dOEH074129; Sun, 4 Dec 2022 04:39:24 GMT (envelope-from git) Date: Sun, 4 Dec 2022 04:39:24 GMT Message-Id: <202212040439.2B44dOEH074129@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 3df86732afed - main - 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/main X-Git-Reftype: branch X-Git-Commit: 3df86732afed7cea51934d613f8aa43b87787cc1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=3df86732afed7cea51934d613f8aa43b87787cc1 commit 3df86732afed7cea51934d613f8aa43b87787cc1 Author: Warner Losh AuthorDate: 2022-12-04 00:23:20 +0000 Commit: Warner Losh 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; }