From dcf47452712d1aeaad5cc75638ee1e760eecb54c Mon Sep 17 00:00:00 2001 From: Scott Long Date: Sat, 4 Dec 2021 11:05:45 -0700 Subject: Fix "set but not used" for hptiop Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/dev/hptiop/hptiop.c | 4 ---- 1 file changed, 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, -- cgit v1.2.3