From nobody Sat Apr 09 00:30:26 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 7FB241921B13; Sat, 9 Apr 2022 00:30:27 +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 4KZwxv0qkKz3r3G; Sat, 9 Apr 2022 00:30:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649464227; 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=WADXQxjcJFGl4kaYIGSupS+QQk9ROYK0UgNJUJKKdPc=; b=lRIQkETJVgRY27hJ+f7ddRD7XsJVcVjjfD+3N0z9weGpn+wOb0s6TTrlWF1BBMwGggRY+W cVN/anys/zQk5dEmI6xnVzhF06+IouKjZNLtp+geIq0EFSzRtsNghKsqEUjKf002aMd+7h aGAC6WADhAx8drhU1d42yW+xNg8I7QUETndevNGBGcBZTslFBsNAyMq6TxbtwXthZNyOUR TH9TOthmazxd12225Mbp1JlJEQs7iPFo59x/cjGACWngPEzQMcJBkC2e/DRhzrjqhF/ii7 wQWMLPWhxN7CqSH4jmQRNKMFdXnpMyFsnMutXh2s2bc6sUKUIfKSVsVv8J0P9g== 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 D538E74E6; Sat, 9 Apr 2022 00:30:26 +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 2390UQ3n065885; Sat, 9 Apr 2022 00:30:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2390UQ1D065884; Sat, 9 Apr 2022 00:30:26 GMT (envelope-from git) Date: Sat, 9 Apr 2022 00:30:26 GMT Message-Id: <202204090030.2390UQ1D065884@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 6a51437fa0c7 - main - arm_add_efi_map_entries: Remove unused variable. 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6a51437fa0c7907ed54adfba032b85956dc2a380 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649464227; 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=WADXQxjcJFGl4kaYIGSupS+QQk9ROYK0UgNJUJKKdPc=; b=LIyyEPigUcUhkm020k9SQFyyuk1KP2lWzGv38SLYaeJnL8P8ilXLl2TZOk6ECp01kf6ZMM 5lUap7V/znF0jv80s9zJAAIJcbfETU9DSUVLvqjNhEDeTi1nxAYB7m4Yz0t7k64J3H23lu qixgr/VlWeI5EYs70rN778XfgLyDrpOEIhs5bnviQYskIb13nTmKCu66eJrW9nApgZdcf6 J0rRQBiED5Sc83JhNsTUd10Tq9Wd0YSSgGlnqv8AQ7Y0RFr/Hg7D2OdoyO2xk6x8gnKoeg sO329VqmUBfiTaNtlG6ege1XptHKUA/puUnX18jxVCPplv7aFy4E/QgGfnRSSw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649464227; a=rsa-sha256; cv=none; b=Cieje9kbXQupgGbzOj6nkF8P1PH/PZV1YC9n1qpdeVP+MYQNE5KSJX6Xwl9RJhq6gTAEo3 chy4VOOXypcLXvGZNp7ANs6q0tYH3xZPcBzXHNibnGoTIJV7D9/xlkd5YUHWwcc53rMP4i 9ZlToeqSfPIt79zQtF5tBB/M0+xAJe5II+3WuzR3D50MOAs1c3crbX1aivzm3tBKmBETP2 akSjihoocgVUCXErbW6cR/Gaf5OJLkiNuC303ajsnAEPonLdjUZNu1nY9mIeKEfp/S3Y5S EH//HhMADsOQUZjpXMJcvx4nCmw6maDYJ4UzJIps3iHNPHzhibEWIBVGcklwIQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=6a51437fa0c7907ed54adfba032b85956dc2a380 commit 6a51437fa0c7907ed54adfba032b85956dc2a380 Author: John Baldwin AuthorDate: 2022-04-09 00:30:14 +0000 Commit: John Baldwin CommitDate: 2022-04-09 00:30:14 +0000 arm_add_efi_map_entries: Remove unused variable. --- sys/arm/arm/machdep_boot.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/arm/arm/machdep_boot.c b/sys/arm/arm/machdep_boot.c index ebdd761bfed3..6644af3a3e79 100644 --- a/sys/arm/arm/machdep_boot.c +++ b/sys/arm/arm/machdep_boot.c @@ -396,7 +396,7 @@ arm_add_efi_map_entries(struct efi_map_header *efihdr, struct mem_region *mr, { struct efi_md *map, *p; const char *type; - size_t efisz, memory_size; + size_t efisz; int ndesc, i, j; static const char *types[] = { @@ -434,7 +434,6 @@ arm_add_efi_map_entries(struct efi_map_header *efihdr, struct mem_region *mr, printf("%23s %12s %12s %8s %4s\n", "Type", "Physical", "Virtual", "#Pages", "Attr"); - memory_size = 0; for (i = 0, j = 0, p = map; i < ndesc; i++, p = efi_next_descriptor(p, efihdr->descriptor_size)) { if (boothowto & RB_VERBOSE) { @@ -491,7 +490,6 @@ arm_add_efi_map_entries(struct efi_map_header *efihdr, struct mem_region *mr, mr[j].mr_start = p->md_phys; mr[j].mr_size = p->md_pages * EFI_PAGE_SIZE; - memory_size += mr[j].mr_size; } *mrcnt = j;