Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Dec 2021 13:24:11 GMT
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 858ed097c4cd - main - ida: plug set-but-not-used vars
Message-ID:  <202112161324.1BGDOBk7096012@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=858ed097c4cd66ffab8657623286f688f59f88af

commit 858ed097c4cd66ffab8657623286f688f59f88af
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2021-12-16 13:23:30 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112161324.1BGDOBk7096012>