|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [linux-2.6.18-xen] PCI/MSI: drop dead control word read
# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxx>
# Date 1412675816 -7200
# Node ID 851b8fba77e7bc08cacab58c3ff277ed8473f048
# Parent 809680069660b199d48fc9e235cfdefdcf391ca7
PCI/MSI: drop dead control word read
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
---
diff -r 809680069660 -r 851b8fba77e7 drivers/pci/msi-xen.c
--- a/drivers/pci/msi-xen.c Mon Oct 06 11:06:58 2014 +0200
+++ b/drivers/pci/msi-xen.c Tue Oct 07 11:56:56 2014 +0200
@@ -508,11 +508,8 @@ void pci_restore_msix_state(struct pci_d
static int msi_capability_init(struct pci_dev *dev)
{
int pos, pirq;
- u16 control;
pos = pci_find_capability(dev, PCI_CAP_ID_MSI);
- pci_read_config_word(dev, msi_control_reg(pos), &control);
-
pirq = msi_map_vector(dev, 0, 0);
if (pirq < 0)
return -EBUSY;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |