]> 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)
commited048b67bdffe86617b6067461b55ce51b024576
treea7b6cca5760c24c96a4f9680f3495636d7a618c9
parentb888c937506147d5d77f24afb038b53ae6e1b4f2
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