From nobody Fri Dec 10 04:54:03 2021 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 1F77718DFB09; Fri, 10 Dec 2021 04:54:04 +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 4J9JTR4Lzgz3h8p; Fri, 10 Dec 2021 04:54:03 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 6983B14923; Fri, 10 Dec 2021 04:54:03 +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 1BA4s3Th049308; Fri, 10 Dec 2021 04:54:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BA4s39e049307; Fri, 10 Dec 2021 04:54:03 GMT (envelope-from git) Date: Fri, 10 Dec 2021 04:54:03 GMT Message-Id: <202112100454.1BA4s39e049307@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jessica Clarke Subject: git: 434cb1c4a631 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 434cb1c4a6316d0966b5cd029e6ae40d5b944406 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639112043; 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=L42XeB7i+QdX5w5G1Ck6IIX/PTOyj1hcfJDBCd6Jeig=; b=rvhtI2zGY6NVTp/ZGti4PxB6SOibzuW1cGpyKK0gjbrXe1jzLPv1+gPbNlwdMOKpgsWAdb OLQbrveqVMQm/0FWQhOD2VTQYhN8Z0W/6dQKx3ajJiDKhlU6BcyGG9D4LQQtqABhviuR9J 90R5uu7HdpdVjnAN/icoj/i3FbvaP5K6gytkgoGGH15kfzvDH5kqYK6MjHt7dds2zkEEXS q8Xn/3g4S5QW3kRE1ZiLFKYvIAHYDebL75moYZALRZ4kKrNcSMnqXQldqYdmhOUGVxn32u FeoFcBW2odaPSRg0kKZBsnCmrusUSHPAQks4zWo0pb/F7N7SppyFa4J2HjntDw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639112043; a=rsa-sha256; cv=none; b=xo3wwYR18tj/wyjniSBtzsWbqRfb/FNBhxBY/Xs4sXtBiFTw2e2tkSrXCMgOBGQKbD4x0R pjxEIYIL2FNnRPl3UEE334HLC5EkpmADTNP/79jsBV/VoHIjZgNmjpcewPRDCydpp+Cj5e LjCvzjPnkB+Ijz02t9iRRe3Bd98fZeK6OeSRgyXLXQLtBEvUgPlBO78zcyz1DNcEDm6NK1 uJ9T9mZ2l9f6AUxjEPTDpnolUWaFLTwimQq00CFe8zJbM1JKbwqRYMDapHKyR+tfzg2h2G MAeXjsPOh3y7szkzU38Ls+7tWiMVYs1aTrTW98jRTvDA2vLhIfmGOZXITgBVXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=434cb1c4a6316d0966b5cd029e6ae40d5b944406 commit 434cb1c4a6316d0966b5cd029e6ae40d5b944406 Author: Jessica Clarke AuthorDate: 2021-12-10 04:51:32 +0000 Commit: Jessica Clarke CommitDate: 2021-12-10 04:51:32 +0000 riscv: Fix PLIC -Wunused-but-set-variable warnings --- 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);