The branch main has been updated by scottl:

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

commit dcf47452712d1aeaad5cc75638ee1e760eecb54c
Author:     Scott Long <sco...@freebsd.org>
AuthorDate: 2021-12-04 18:05:45 +0000
Commit:     Scott Long <sco...@freebsd.org>
CommitDate: 2021-12-04 18:07:04 +0000

    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,

Reply via email to