aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2021-12-04 18:05:45 +0000
committerScott Long <scottl@FreeBSD.org>2021-12-04 18:07:04 +0000
commitdcf47452712d1aeaad5cc75638ee1e760eecb54c (patch)
tree7a3dc3b530a514dc893d324e35bbce6ea712da13
parentad2a0aec295478e750158b8985422f15deee0e54 (diff)
downloadsrc-dcf47452712d1aeaad5cc75638ee1e760eecb54c.tar.gz
src-dcf47452712d1aeaad5cc75638ee1e760eecb54c.zip
Fix "set but not used" for hptiop
Sponsored by: Rubicon Communications, LLC ("Netgate")
-rw-r--r--sys/dev/hptiop/hptiop.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/hptiop/hptiop.c b/sys/dev/hptiop/hptiop.c
index c5ac59f31df5..300d10ff57e1 100644
--- a/sys/dev/hptiop/hptiop.c
+++ b/sys/dev/hptiop/hptiop.c
@@ -473,10 +473,6 @@ static void hptiop_drain_outbound_queue_itl(struct hpt_iop_hba *hba)
if (req & IOPMU_QUEUE_MASK_HOST_BITS)
hptiop_request_callback_itl(hba, req);
else {
- struct hpt_iop_request_header *p;
-
- p = (struct hpt_iop_request_header *)
- ((char *)hba->u.itl.mu + req);
temp = bus_space_read_4(hba->bar0t,
hba->bar0h,req +
offsetof(struct hpt_iop_request_header,