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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lu Baolu <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
1 parent fb5f50a commit cb4396e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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)