git: ff84f8b536ce - main - iommu: Clean up a lingering function prototype

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Mon, 04 Nov 2024 19:38:52 UTC
The branch main has been updated by markj:

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

commit ff84f8b536ceaa9a16b4dca94a1856300be0216b
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-11-04 19:38:22 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-11-04 19:38:22 +0000

    iommu: Clean up a lingering function prototype
    
    Reported by:    clang
    Fixes:          d97838b7c2a6 ("iommu: eliminate iommu_free_ctx()")
---
 sys/x86/iommu/intel_ctx.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys/x86/iommu/intel_ctx.c b/sys/x86/iommu/intel_ctx.c
index 2bc5f8a9d361..b4ea1e82696b 100644
--- a/sys/x86/iommu/intel_ctx.c
+++ b/sys/x86/iommu/intel_ctx.c
@@ -76,7 +76,6 @@ static void dmar_unref_domain_locked(struct dmar_unit *dmar,
 static void dmar_domain_destroy(struct dmar_domain *domain);
 
 static void dmar_free_ctx_locked(struct dmar_unit *dmar, struct dmar_ctx *ctx);
-static void dmar_free_ctx(struct dmar_ctx *ctx);
 
 static void
 dmar_ensure_ctx_page(struct dmar_unit *dmar, int bus)