Merge branch 'pci/misc' into next

* pci/misc:
  PCI: Drop CONFIG_KEXEC_CORE ifdeffery
This commit is contained in:
Bjorn Helgaas 2016-10-03 09:43:20 -05:00
Родитель 64ea3b99d6 ad618c9983
Коммит 5485e49f71
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -466,7 +466,6 @@ static void pci_device_shutdown(struct device *dev)
pci_msi_shutdown(pci_dev); pci_msi_shutdown(pci_dev);
pci_msix_shutdown(pci_dev); pci_msix_shutdown(pci_dev);
#ifdef CONFIG_KEXEC_CORE
/* /*
* If this is a kexec reboot, turn off Bus Master bit on the * If this is a kexec reboot, turn off Bus Master bit on the
* device to tell it to not continue to do DMA. Don't touch * device to tell it to not continue to do DMA. Don't touch
@ -476,7 +475,6 @@ static void pci_device_shutdown(struct device *dev)
*/ */
if (kexec_in_progress && (pci_dev->current_state <= PCI_D3hot)) if (kexec_in_progress && (pci_dev->current_state <= PCI_D3hot))
pci_clear_master(pci_dev); pci_clear_master(pci_dev);
#endif
} }
#ifdef CONFIG_PM #ifdef CONFIG_PM