Date: Sat, 4 Dec 2021 18:07:08 GMT From: Scott Long <scottl@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: dcf47452712d - main - Fix "set but not used" for hptiop Message-ID: <202112041807.1B4I78TS059060@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by scottl: URL: https://cgit.FreeBSD.org/src/commit/?id=dcf47452712d1aeaad5cc75638ee1e760eecb54c commit dcf47452712d1aeaad5cc75638ee1e760eecb54c Author: Scott Long <scottl@FreeBSD.org> AuthorDate: 2021-12-04 18:05:45 +0000 Commit: Scott Long <scottl@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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112041807.1B4I78TS059060>