Skip to content

Commit cb4396e

Browse files
YueHaibingjoergroedel
authored andcommitted
iommu/vt-d: Remove unused extern declaration dmar_parse_dev_scope()
Since commit 2e45528 ("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>
1 parent fb5f50a commit cb4396e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

include/linux/dmar.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ static inline bool dmar_rcu_check(void)
106106
extern int dmar_table_init(void);
107107
extern int dmar_dev_scope_init(void);
108108
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);
111109
extern void *dmar_alloc_dev_scope(void *start, void *end, int *cnt);
112110
extern void dmar_free_dev_scope(struct dmar_dev_scope **devices, int *cnt);
113111
extern int dmar_insert_dev_scope(struct dmar_pci_notify_info *info,

0 commit comments

Comments
 (0)