From nobody Thu Dec 16 13:24:11 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 43A4918EE6F6; Thu, 16 Dec 2021 13:24:12 +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 4JFCWH73pXz4yFF; Thu, 16 Dec 2021 13:24:11 +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 D1FFCF2E; Thu, 16 Dec 2021 13:24:11 +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 1BGDOBC0096013; Thu, 16 Dec 2021 13:24:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BGDOBk7096012; Thu, 16 Dec 2021 13:24:11 GMT (envelope-from git) Date: Thu, 16 Dec 2021 13:24:11 GMT Message-Id: <202112161324.1BGDOBk7096012@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: 858ed097c4cd - main - ida: plug set-but-not-used vars 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: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 858ed097c4cd66ffab8657623286f688f59f88af Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639661052; 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=DpSV9R2ZMac+dkIxBHFzGDnWTOcWccdpmcD25zkkDd4=; b=L670rZXlaOTF7XNVPCRewfYpmgNdzJiVC5tWvrIJK52O5CUvECHog/7r2CYkbrU33xlBA+ hnDNJRF8gdN5Ybeq1gt88luv0/tFSCBA6WaoWA5cSo8gxLqqsT/JGOm8QXC+XnFY4p1rgz iwTr41a/e0tvRxaR6i9k0G/gEwFqsOf1VPCmKavrJRCKAyXjUPoTfIh8RSprm6XcojtvYg VeLZR2SnKqsqjHuZojuCYrLQkr0enyID5JN+sqVSK+nYmUt2jLpLP3QpAecaDYaLGlK+CP A6oOOTEGkzt5oEJ5ZtV25zUwi8oYhE/c40se0oCmhH7LiJrd0Cf++n5hY/G5SQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639661052; a=rsa-sha256; cv=none; b=MqqKCqI3M6YWvYVU1iy4DbhDfoTDRpXAnGi64LuCPcoYn2QHhtiWQHT9+KLgLhUaxeY6zq kxJq1prJWz4d0AzdB/GI/7apXvsqTHtEsYqKUkbhGUzUEyizffypBtW7Nlx3W5tDerLCh5 X/rNocVgA129TY4aALgvQFJs8Zz0sVYVEUPQ1lE6BYhsf3taAvwfAI26GMuHEcWzdcm0uC oT8lB1nsCn0l2tqx9XhWLX3PMMT3JagvIWqIT+65PV2FXOinEi6ZwMfV5i6xZNkQPWXmZS vzKlBk1/lgeVSA9a+gIvLFQrd44KdvdGC+b2QENl4MYXdIPB2FPnQogF/X8Bjg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=858ed097c4cd66ffab8657623286f688f59f88af commit 858ed097c4cd66ffab8657623286f688f59f88af Author: Mateusz Guzik AuthorDate: 2021-12-16 13:23:30 +0000 Commit: Mateusz Guzik CommitDate: 2021-12-16 13:23:30 +0000 ida: plug set-but-not-used vars Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/dev/ida/ida_disk.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/ida/ida_disk.c b/sys/dev/ida/ida_disk.c index db84f905ff50..35d70ac896c3 100644 --- a/sys/dev/ida/ida_disk.c +++ b/sys/dev/ida/ida_disk.c @@ -152,9 +152,6 @@ idad_dump(void *arg, void *virtual, vm_offset_t physical, off_t offset, size_t l void idad_intr(struct bio *bp) { - struct idad_softc *drv; - - drv = bp->bio_disk->d_drv1; if (bp->bio_flags & BIO_ERROR) bp->bio_error = EIO;