]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: ibmphp: Use common error handling code in unconfigure_boot_device()
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 30 Oct 2017 12:26:32 +0000 (13:26 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 7 Nov 2017 00:47:15 +0000 (18:47 -0600)
commitd24c4e2d81ba05abb05cd19fa3d98d112a87701f
treea7b6cca5760c24c96a4f9680f3495636d7a618c9
parent3fb5e40d11aacb853b61d450dad9651aef613f01
PCI: ibmphp: Use common error handling code in unconfigure_boot_device()

Combine two error paths that emit the same message and return the same
error code.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
[bhelgaas: changelog]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/ibmphp_pci.c