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>
This commit is contained in:
parent
7ce7d89f48
commit
63d182abd7
|
@ -463,7 +463,6 @@ static inline int is_dlpar_capable(void)
|
|||
|
||||
int __init rpadlpar_io_init(void)
|
||||
{
|
||||
int rc = 0;
|
||||
|
||||
if (!is_dlpar_capable()) {
|
||||
printk(KERN_WARNING "%s: partition not DLPAR capable\n",
|
||||
|
@ -471,8 +470,7 @@ int __init rpadlpar_io_init(void)
|
|||
return -EPERM;
|
||||
}
|
||||
|
||||
rc = dlpar_sysfs_init();
|
||||
return rc;
|
||||
return dlpar_sysfs_init();
|
||||
}
|
||||
|
||||
void rpadlpar_io_exit(void)
|
||||
|
|
Loading…
Reference in New Issue