We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e49f85 commit de31cf4Copy full SHA for de31cf4
hypervisor/arch/x86/assign.c
@@ -68,17 +68,6 @@ _lookup_entry_by_id(uint32_t id)
68
return NULL;
69
}
70
71
-static inline struct ptdev_remapping_info *
72
-lookp_entry_by_id(uint32_t id)
73
-{
74
- struct ptdev_remapping_info *entry;
75
-
76
- spinlock_obtain(&ptdev_lock);
77
- entry = _lookup_entry_by_id(id);
78
- spinlock_release(&ptdev_lock);
79
- return entry;
80
-}
81
82
/* require ptdev_lock protect */
83
static inline struct ptdev_remapping_info *
84
_lookup_entry_by_vmsi(struct vm *vm, uint16_t vbdf, int32_t index)
0 commit comments