Commit ae6263cc authored by Markus Elfring's avatar Markus Elfring Committed by Michael Ellerman

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: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent a8d5dada
...@@ -223,8 +223,6 @@ static void __init ocm_init_node(int count, struct device_node *node) ...@@ -223,8 +223,6 @@ static void __init ocm_init_node(int count, struct device_node *node)
INIT_LIST_HEAD(&ocm->c.list); INIT_LIST_HEAD(&ocm->c.list);
ocm->ready = 1; ocm->ready = 1;
return;
} }
static int ocm_debugfs_show(struct seq_file *m, void *v) static int ocm_debugfs_show(struct seq_file *m, void *v)
......
...@@ -1399,7 +1399,6 @@ static void __init ppc_476fpe_pciex_check_link(struct ppc4xx_pciex_port *port) ...@@ -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); printk(KERN_WARNING "PCIE%d: Link up failed\n", port->index);
iounmap(mbase); iounmap(mbase);
return;
} }
static struct ppc4xx_pciex_hwops ppc_476fpe_pcie_hwops __initdata = static struct ppc4xx_pciex_hwops ppc_476fpe_pcie_hwops __initdata =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment