]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/ERR: Combine pci_channel_io_frozen cases
authorKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Fri, 27 Mar 2020 22:33:24 +0000 (17:33 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 28 Mar 2020 16:50:56 +0000 (11:50 -0500)
commitffd0fcf9cd2e2a96fe042ce15b1825683cc6eb61
treef351ba981bf79088646a262a98b869fe14a7eedc
parent900abd43b6d837ba70928a9ee9599ba3be1d2fb6
PCI/ERR: Combine pci_channel_io_frozen cases

pcie_do_recovery() had two "if (state == pci_channel_io_frozen)" cases
right after each other.  Combine them to make this easier to read.  No
functional change intended.

Link: https://lore.kernel.org/r/20200317170654.GA23125@infradead.org
[bhelgaas: split from https://lore.kernel.org/r/a255fcb3a3fdebcd90f84e08b555f1786eb8eba2.1585000084.git.sathyanarayanan.kuppuswamy@linux.intel.com]
Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/err.c