git: 858ed097c4cd - main - ida: plug set-but-not-used vars
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Dec 2021 13:24:11 UTC
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;