mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
vPCI: drop bogus locking assertion
msix_find() is a local helper, with all callers explicitly acquiring the per-domain PCI r/w lock. The checking, which should never have included the alternative of holding the global PCI devices lock, therefore is pretty much pointless. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Roger Pau Monné <roger@xenproject.org>
This commit is contained in:
1 parent
4c1aba82cf
commit
57c648a35b
1 file changed
-2
@@ -158,8 +158,6 @@ static struct vpci_msix *msix_find(const struct domain *d, unsigned long addr)
|
||||
{
|
||||
struct vpci_msix *msix;
|
||||
|
||||
ASSERT_PDEV_LIST_IS_READ_LOCKED(d);
|
||||
|
||||
list_for_each_entry ( msix, &d->arch.hvm.msix_tables, next )
|
||||
{
|
||||
const struct vpci_bar *bars = msix->pdev->vpci->header.bars;
|
||||
|
||||