[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


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-linux-2.6.18-xen <patchbot@xxxxxxx>
  • Date: Tue, 07 Oct 2014 10:00:02 +0000
  • Delivery-date: Tue, 07 Oct 2014 10:00:27 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.