aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/4xx/pci.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2018-01-11 18:40:23 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-12-21 11:32:49 +1100
commitae6263cc33742d1c179510b6aadd31108fe89a89 (patch)
treeaa51a989c3f1fd4510b455ebddf1b1fc4a7e65b6 /arch/powerpc/platforms/4xx/pci.c
parentpowerpc/4xx: Delete error message for a ENOMEM in two functions (diff)
downloadlinux-dev-ae6263cc33742d1c179510b6aadd31108fe89a89.tar.xz
linux-dev-ae6263cc33742d1c179510b6aadd31108fe89a89.zip
powerpc/4xx: Delete an unnecessary return statement in two functions
The script "checkpatch.pl" pointed information out like the following. WARNING: void function return statements are not generally useful Thus remove such a statement in the affected functions. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to '')
-rw-r--r--arch/powerpc/platforms/4xx/pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/4xx/pci.c b/arch/powerpc/platforms/4xx/pci.c
index d0825f5c5b1b..e6e2adcc7b64 100644
--- a/arch/powerpc/platforms/4xx/pci.c
+++ b/arch/powerpc/platforms/4xx/pci.c
@@ -1399,7 +1399,6 @@ static void __init ppc_476fpe_pciex_check_link(struct ppc4xx_pciex_port *port)
printk(KERN_WARNING "PCIE%d: Link up failed\n", port->index);
iounmap(mbase);
- return;
}
static struct ppc4xx_pciex_hwops ppc_476fpe_pcie_hwops __initdata =