OSDN Git Service

PCI/MSI: Remove unused list access in __pci_restore_msix_state()
authorYijing Wang <wangyijing@huawei.com>
Tue, 8 Jul 2014 02:09:08 +0000 (10:09 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 16 Jul 2014 20:45:38 +0000 (14:45 -0600)
commit0dae508aacb465bd96f8ce84d35b4b861894e302
tree743e81649264da0d104b5f0c060fb316a5607274
parenta281b788d6070526c63b7bbc43dcbe5906d3f487
PCI/MSI: Remove unused list access in __pci_restore_msix_state()

In __pci_restore_msix_state(), we get the first element from msi_list, but
we never use it.  Remove this useless code.

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/msi.c