From nobody Tue Apr 05 04:32:06 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 34CDF1A8FF12; Tue, 5 Apr 2022 04:32:07 +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 4KXZVZ3QFRz4g53; Tue, 5 Apr 2022 04:32:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649133126; 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=jb0mTsUOADUXxHnp9Oo9buzFHpxlxL/8gcQX/wPlM4w=; b=WcIXRfBuXZK1pEk6lw9qqVRorjWx39a6Ho01HQOBR19sbcmD3Uw/HcWeJscvRQC5dRG5Pa qMp6lx8N7eTP+Z6nCG4bljxcdmWVv4hw3Em7A9Bz5zJoUvBjnBzyU+nE1vB+rVXFbzw6oD x7zvHhZA6Sa/S/VcA7WF4GEMHr5geCWVuJf78N0FATaNqACnjSvr+hjxvxEJ38CVBb3NVJ kAtieDQqhl/i/K4i/nWia4jKiCL+kXSSY9k+Ox2fa3YBMgfxqD0BvWiywHyAoMWnjh53Ez ZKW5kSmSumxSAyh9fmBf01Awagvz6neh8Mum6V4kArFlPXxeb8wPiQIdKPiwdw== 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 3DD921F9AA; Tue, 5 Apr 2022 04:32:06 +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 2354W6nx008557; Tue, 5 Apr 2022 04:32:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2354W6vX008556; Tue, 5 Apr 2022 04:32:06 GMT (envelope-from git) Date: Tue, 5 Apr 2022 04:32:06 GMT Message-Id: <202204050432.2354W6vX008556@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: e10ac1ed2cae - main - fdt_win_process_child: eliminate write only size 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e10ac1ed2cae458f25e437fb166b4f03bddcd358 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649133126; 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=jb0mTsUOADUXxHnp9Oo9buzFHpxlxL/8gcQX/wPlM4w=; b=rg3/oY0Zi0RmR7R8n8sd28/eipRgDI+u0fLo44dJerpxwljRxP987cB0C7wOTnGzKO2Mh2 TBcX6gMIM15Gta2XogIyis+20fhH56kI7A9M1Q/SNE/X9YUP/x1eVVaTolO/Wb1xSl6p8E jjsstL1UF48efxplzA2h2e7blUlPrsvlmnr6ccvF/lLcj11g5/Jx4tx1QUb72upQ/DnwMW /hbOSAyVBfRN639KbJLCcVcxcZcijlY4rsCEcYh0l2PkGGBXqIrpAX9TicMVR56S+CnEkl 7CUF2zJQHZTzGbiJWYvOzAZS5VJpWybTkuKQna4nhGrr8y1cC1WSQh8RgcXghg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649133126; a=rsa-sha256; cv=none; b=VyCQUh8Pz6qEXMpLL4/mkdOV9rbQ+0nu1f756ndB0EiZYwMRycMr4HtLqX749ecMbRmEgE c/iHo0cS8aycOAFiGmp/g/ppx5aTZjbYG1GHwRO6dmMVxoenX8Kj4NYnWsydn7ZhZQ1clt 1IzirxdFMYNA51VTseAoB/WOAf3TH4o0zdqu6aqQlleMifp1fs0u+JKLh6LkmCMMVeQsfw 9I0QrBeCi1uTw+79O8tWBuSdwxIE3aL0VynOvUVXsreiA/pHb7qpT+bGjXycinf36DCxmb ZHDjKEgIsDbkIcIRYritSJQjAshq8aeDc5AT7LtjoB56W0AqBQGRWuOTTj6VgA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=e10ac1ed2cae458f25e437fb166b4f03bddcd358 commit e10ac1ed2cae458f25e437fb166b4f03bddcd358 Author: Warner Losh AuthorDate: 2022-04-04 23:56:31 +0000 Commit: Warner Losh CommitDate: 2022-04-05 04:29:16 +0000 fdt_win_process_child: eliminate write only size variable Sponsored by: Netflix --- sys/arm/mv/mv_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arm/mv/mv_common.c b/sys/arm/mv/mv_common.c index 9d2bb17cf309..6e1d12f8c7a7 100644 --- a/sys/arm/mv/mv_common.c +++ b/sys/arm/mv/mv_common.c @@ -2688,7 +2688,7 @@ fdt_win_process_child(phandle_t child, struct soc_node_spec *soc_node, { int addr_cells, size_cells; pcell_t reg[8]; - u_long size, base; + u_long base; if (fdt_addrsize_cells(OF_parent(child), &addr_cells, &size_cells)) @@ -2703,7 +2703,7 @@ fdt_win_process_child(phandle_t child, struct soc_node_spec *soc_node, base = fdt_data_get(®[0], addr_cells); else base = fdt_data_get(®[addr_cells - 2], 2); - size = fdt_data_get(®[addr_cells], size_cells); + fdt_data_get(®[addr_cells], size_cells); if (soc_node->valid_handler != NULL) if (!soc_node->valid_handler())