Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

PCI: rpadlpar: Remove unnecessary return statement

Remove unnecessary return statement using spatch tool.

Signed-off-by: Rahul Krishnan <mrahul.krishnan@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>

authored by

Rahul Krishnan and committed by
Bjorn Helgaas
63d182ab 7ce7d89f

+1 -3
+1 -3
drivers/pci/hotplug/rpadlpar_core.c
··· 463 463 464 464 int __init rpadlpar_io_init(void) 465 465 { 466 - int rc = 0; 467 466 468 467 if (!is_dlpar_capable()) { 469 468 printk(KERN_WARNING "%s: partition not DLPAR capable\n", ··· 470 471 return -EPERM; 471 472 } 472 473 473 - rc = dlpar_sysfs_init(); 474 - return rc; 474 + return dlpar_sysfs_init(); 475 475 } 476 476 477 477 void rpadlpar_io_exit(void)