projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb5f50a
)
iommu/vt-d: Remove unused extern declaration dmar_parse_dev_scope()
author
YueHaibing
<yuehaibing@huawei.com>
Wed, 9 Aug 2023 12:48:06 +0000
(20:48 +0800)
committer
Joerg Roedel
<jroedel@suse.de>
Wed, 9 Aug 2023 15:46:19 +0000
(17:46 +0200)
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>
include/linux/dmar.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/dmar.h
b/include/linux/dmar.h
index 27dbd4c64860bfb28ce164d235e65eab286788d6..e34b601b71fd25c4b68c6e6c44075fea16275cd0 100644
(file)
--- a/
include/linux/dmar.h
+++ b/
include/linux/dmar.h
@@
-106,8
+106,6
@@
static inline bool dmar_rcu_check(void)
extern int dmar_table_init(void);
extern int dmar_dev_scope_init(void);
extern void dmar_register_bus_notifier(void);
-extern int dmar_parse_dev_scope(void *start, void *end, int *cnt,
- struct dmar_dev_scope **devices, u16 segment);
extern void *dmar_alloc_dev_scope(void *start, void *end, int *cnt);
extern void dmar_free_dev_scope(struct dmar_dev_scope **devices, int *cnt);
extern int dmar_insert_dev_scope(struct dmar_pci_notify_info *info,