diff options
-rw-r--r-- | drivers/pci/msi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index 5bb99213f55d..84da13c00a34 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c | |||
@@ -463,7 +463,6 @@ static void __pci_restore_msix_state(struct pci_dev *dev) | |||
463 | if (!dev->msix_enabled) | 463 | if (!dev->msix_enabled) |
464 | return; | 464 | return; |
465 | BUG_ON(list_empty(&dev->msi_list)); | 465 | BUG_ON(list_empty(&dev->msi_list)); |
466 | entry = list_first_entry(&dev->msi_list, struct msi_desc, list); | ||
467 | 466 | ||
468 | /* route the table */ | 467 | /* route the table */ |
469 | pci_intx_for_msi(dev, 0); | 468 | pci_intx_for_msi(dev, 0); |