aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2024-11-04 19:38:22 +0000
committerMark Johnston <markj@FreeBSD.org>2024-11-04 19:38:22 +0000
commitff84f8b536ceaa9a16b4dca94a1856300be0216b (patch)
tree8013fe959aa60f5e7fae1fd9f23014ae6a3b5599
parenta905c589be67db98bbb9c99932511be70e5027fb (diff)
downloadsrc-ff84f8b536ceaa9a16b4dca94a1856300be0216b.tar.gz
src-ff84f8b536ceaa9a16b4dca94a1856300be0216b.zip
iommu: Clean up a lingering function prototype
Reported by: clang Fixes: d97838b7c2a6 ("iommu: eliminate iommu_free_ctx()")
-rw-r--r--sys/x86/iommu/intel_ctx.c1
1 files changed, 0 insertions, 1 deletions
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)