File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -961,7 +961,6 @@ static void pci_msi_shutdown(struct pci_dev *dev)
961
961
962
962
/* Return the device with MSI unmasked as initial states */
963
963
mask = msi_mask (desc -> msi_attrib .multi_cap );
964
- /* Keep cached state to be restored */
965
964
__pci_msi_desc_mask_irq (desc , mask , 0 );
966
965
967
966
/* Restore dev->irq to its default pin-assertion IRQ */
@@ -1047,10 +1046,8 @@ static void pci_msix_shutdown(struct pci_dev *dev)
1047
1046
}
1048
1047
1049
1048
/* Return the device with MSI-X masked as initial states */
1050
- for_each_pci_msi_entry (entry , dev ) {
1051
- /* Keep cached states to be restored */
1049
+ for_each_pci_msi_entry (entry , dev )
1052
1050
__pci_msix_desc_mask_irq (entry , 1 );
1053
- }
1054
1051
1055
1052
pci_msix_clear_and_set_ctrl (dev , PCI_MSIX_FLAGS_ENABLE , 0 );
1056
1053
pci_intx_for_msi (dev , 1 );
You can’t perform that action at this time.
0 commit comments