aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mvs
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2022-02-26 19:18:42 +0000
committerScott Long <scottl@FreeBSD.org>2022-02-26 19:18:42 +0000
commitc61dc8542865be1c2f1eb3f85d424141fb5ecd36 (patch)
treedcf861c2d260f33569c2606dc8be14fa97a1a65d /sys/dev/mvs
parent0fd7b4c74d7d1ba2b0c6616b1889e74bb5ba8800 (diff)
Diffstat (limited to 'sys/dev/mvs')
-rw-r--r--sys/dev/mvs/mvs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/mvs/mvs.c b/sys/dev/mvs/mvs.c
index 80c5e8cfe05f..7ef3e50e25c6 100644
--- a/sys/dev/mvs/mvs.c
+++ b/sys/dev/mvs/mvs.c
@@ -844,7 +844,6 @@ mvs_legacy_intr(device_t dev, int poll)
struct mvs_slot *slot = &ch->slot[0]; /* PIO is always in slot 0. */
union ccb *ccb = slot->ccb;
enum mvs_err_type et = MVS_ERR_NONE;
- int port;
u_int length, resid, size;
uint8_t buf[2];
uint8_t status, ireason;
@@ -853,7 +852,6 @@ mvs_legacy_intr(device_t dev, int poll)
status = mvs_getstatus(dev, 1);
if (slot->state < MVS_SLOT_RUNNING)
return;
- port = ccb->ccb_h.target_id & 0x0f;
/* Wait a bit for late !BUSY status update. */
if (status & ATA_S_BUSY) {
if (poll)