Date: Wed, 18 Dec 2024 14:21:20 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 705337455f06 - stable/14 - amd iommu: remove unused function Message-ID: <202412181421.4BIELKwP089408@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=705337455f0622223fc58a78a77ea1a536d746a5 commit 705337455f0622223fc58a78a77ea1a536d746a5 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-12-15 22:49:52 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-12-18 14:20:41 +0000 amd iommu: remove unused function (cherry picked from commit 58d1fdfaa90a5365a5f951e2ac80e0fce02ca9bb) --- sys/x86/iommu/amd_drv.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sys/x86/iommu/amd_drv.c b/sys/x86/iommu/amd_drv.c index 72aae58334f2..04e5444b0b46 100644 --- a/sys/x86/iommu/amd_drv.c +++ b/sys/x86/iommu/amd_drv.c @@ -80,12 +80,6 @@ static int amdiommu_enable = 0; static TAILQ_HEAD(, amdiommu_unit) amdiommu_units = TAILQ_HEAD_INITIALIZER(amdiommu_units); -static u_int -ivrs_info_to_unit_id(UINT32 info) -{ - return ((info & ACPI_IVHD_UNIT_ID_MASK) >> 8); -} - typedef bool (*amdiommu_itercc_t)(void *, void *); typedef bool (*amdiommu_iter40_t)(ACPI_IVRS_HARDWARE2 *, void *); typedef bool (*amdiommu_iter11_t)(ACPI_IVRS_HARDWARE2 *, void *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412181421.4BIELKwP089408>