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)
commit05196e258a617ee14dd3255c480cbc3f0caff5ce
treea7b6cca5760c24c96a4f9680f3495636d7a618c9
parent9e66317d3c92ddaab330c125dfe9d06eee268aff
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