Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iommu/vt-d: Remove unused extern declaration dmar_parse_dev_scope()

Since commit 2e4552893038 ("iommu/vt-d: Unify the way to process DMAR
device scope array") this is not used anymore, so can remove it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20230802133934.19712-1-yuehaibing@huawei.com
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>

authored by

YueHaibing and committed by
Joerg Roedel
cb4396e0 fb5f50a4

-2
-2
include/linux/dmar.h
··· 106 106 extern int dmar_table_init(void); 107 107 extern int dmar_dev_scope_init(void); 108 108 extern void dmar_register_bus_notifier(void); 109 - extern int dmar_parse_dev_scope(void *start, void *end, int *cnt, 110 - struct dmar_dev_scope **devices, u16 segment); 111 109 extern void *dmar_alloc_dev_scope(void *start, void *end, int *cnt); 112 110 extern void dmar_free_dev_scope(struct dmar_dev_scope **devices, int *cnt); 113 111 extern int dmar_insert_dev_scope(struct dmar_pci_notify_info *info,