amd iommu: remove unused function

Sponsored by:	Advanced Micro Devices (AMD)
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
This commit is contained in:
Konstantin Belousov 2024-12-16 00:49:52 +02:00
parent 2fb2c03512
commit 58d1fdfaa9

View file

@ -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 *);