diff options
author | 2014-09-23 14:25:11 -0600 | |
---|---|---|
committer | 2014-10-01 12:21:14 -0600 | |
commit | 27e20603c54ba633ed259284d006275f13c9f95b (patch) | |
tree | a4c9b78185402087be871b44dbb671cb17adff0c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | PCI/MSI: Remove arch_msi_check_device() (diff) | |
download | wireguard-linux-27e20603c54ba633ed259284d006275f13c9f95b.tar.xz wireguard-linux-27e20603c54ba633ed259284d006275f13c9f95b.zip |
PCI/MSI: Move D0 check into pci_msi_check_device()
Both callers of pci_msi_check_device() check that the device is in D0
state, so move the check from the callers into pci_msi_check_device()
itself.
In pci_enable_msi_range(), note that pci_msi_check_device() never returns a
positive value any more, so the loop that called it until it returns zero
or negative is no longer necessary.
[bhelgaas: changelog, split to separate patch]
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions