[PATCH] pci: hotplug: This patch removes unnecessary return statement using spatch tool

From: Rahul Krishnan
Date: Sat Dec 24 2016 - 02:33:24 EST


This patch removes unnecessary return statement using spatch tool

Signed-off-by: Rahul Krishnan <mrahul.krishnan@xxxxxxxxx>
---
drivers/pci/hotplug/rpadlpar_core.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/pci/hotplug/rpadlpar_core.c b/drivers/pci/hotplug/rpadlpar_core.c
index dc67f39..9d0e2e1 100644
--- a/drivers/pci/hotplug/rpadlpar_core.c
+++ b/drivers/pci/hotplug/rpadlpar_core.c
@@ -463,8 +463,7 @@ int __init rpadlpar_io_init(void)
return -EPERM;
}

- rc = dlpar_sysfs_init();
- return rc;
+ return dlpar_sysfs_init();
}

void rpadlpar_io_exit(void)
--
2.7.4