From nobody Tue Jan 25 01:40:09 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 4DC1A1972BE1; Tue, 25 Jan 2022 01:40:11 +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 4JjV0V2l9yz4Zvq; Tue, 25 Jan 2022 01:40:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643074810; 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=NgMB31qvkYP4vsr5UzmrZlSUIwo+CDZqZfAiXnfoz78=; b=N4A6CsxGpr4JqknqRACaAyI/6hMAdAYLXGmvRNlhyQxTvogyRY+pXvbsZymZuc+BynDzH7 hDgS1IYI3Bjt8aZrc+/085x0aYbqbtnSY+x6DUKp7hOvAMmapkwXM06pfNdHnFcLL0rP6B /ihpJ54M26CJ5c5K0s7pckQ40e3GZOVJRo378vsLNTjF0KVGGYbKHAEhxO00dj++pJEn2R OuqQ3o1hgV2nhu707FwB//jdSH0LMzK1KjeZVntE6vuhYselKQ7zp4vpabBgmgjCg/YEPx kRtuTTE7VoUJYz6Tc2O8z+t2GSYegJqk6BnEMoPwEVIXqWlVp8E1/wiFn2PX5g== 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 86C6820A2F; Tue, 25 Jan 2022 01:40:09 +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 20P1e9tw046200; Tue, 25 Jan 2022 01:40:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20P1e9qj046198; Tue, 25 Jan 2022 01:40:09 GMT (envelope-from git) Date: Tue, 25 Jan 2022 01:40:09 GMT Message-Id: <202201250140.20P1e9qj046198@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Jessica Clarke Subject: git: 297c86f8bcdc - stable/13 - riscv: Fix PLIC -Wunused-but-set-variable warnings 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: jrtc27 X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 297c86f8bcdce7d2b7a3e9e44de852e2b09e6f50 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643074810; 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=NgMB31qvkYP4vsr5UzmrZlSUIwo+CDZqZfAiXnfoz78=; b=UvIhh2uDxI0V57UcUSJuHYyWNT/LvSFzXCf3wLcj0KYHQQoASJw6BR7nVj6bjXKpCUaip+ /dzXGoBmrC6Spe81ktuJcEA6s1/BsDbc6mrvXNiDmysNQri8OgTIIFaqfcF1xXMvgEmXNW zbW69cmTKAgmMUDvxStlS39Xdq7TL/FKb3KBEKcSwBIM4vAJlR51dcByaV0EAseb1dDMgx nSVQagXYUdLnTdSEYPooZ61lf2JnIcFIdLiR/59NqRM3QfrdccTnAye84/5ZPNfMNvyWy4 ODVwME4jSdHCR1cMMc4ySwNWDmJD2LkIIpFhxYMdkC6NW/np55GOAoF9FCXoTQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643074810; a=rsa-sha256; cv=none; b=I2DNdhLxtmDdtzMSBDQ+fqv7W73yqbpq06yWFahlTdCDOVPFa9YwxmJv1VFU8YJITj02dK TNZBf7EnnH3HVZqXcvi9P3kJXtdVm8q9u9fd5u1qVJkkMh8XavQh/a/mYQywz3OtQ6m7qU LFWA/XxnglHLCkyTW/6wo2+i9XhNemz1qUq/M45bV/UnQF6xLgtnDLrRyBbJMjD+0fZDMF A4HRCIF5w6MIa0krhEMzjDajijR2YutPOyKW/olJn+OzFUOp39XV7K3R20yZbuoIGDSCq2 ILW/nm99IW27xdJ1jee1kKkbZIcQyDh3VgPGDLZTkCfoC262ItdFaxk9NSM8uA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=297c86f8bcdce7d2b7a3e9e44de852e2b09e6f50 commit 297c86f8bcdce7d2b7a3e9e44de852e2b09e6f50 Author: Jessica Clarke AuthorDate: 2021-12-10 04:51:32 +0000 Commit: Jessica Clarke CommitDate: 2022-01-24 23:59:35 +0000 riscv: Fix PLIC -Wunused-but-set-variable warnings (cherry picked from commit 434cb1c4a6316d0966b5cd029e6ae40d5b944406) --- sys/riscv/riscv/plic.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sys/riscv/riscv/plic.c b/sys/riscv/riscv/plic.c index 029525938161..aeb2b4835d16 100644 --- a/sys/riscv/riscv/plic.c +++ b/sys/riscv/riscv/plic.c @@ -402,12 +402,6 @@ static int plic_setup_intr(device_t dev, struct intr_irqsrc *isrc, struct resource *res, struct intr_map_data *data) { - struct plic_softc *sc; - struct plic_irqsrc *src; - - sc = device_get_softc(dev); - src = (struct plic_irqsrc *)isrc; - CPU_ZERO(&isrc->isrc_cpu); plic_bind_intr(dev, isrc);