summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-08-24 04:01:05 +0200
committerDavid S. Miller <davem@davemloft.net>2010-08-26 01:36:48 +0200
commit884c06f4777c598ea7bf4fbc7557ff2fca066f63 (patch)
tree1b36f8f0f00e02f3f1110df3d8f5bfbe5e189eee
parentstmmac: make ioaddr 'void __iomem *' rather than unsigned long (diff)
downloadlinux-884c06f4777c598ea7bf4fbc7557ff2fca066f63.tar.xz
linux-884c06f4777c598ea7bf4fbc7557ff2fca066f63.zip
plip: remove superflous return
This return isn't reachable and it obscures the goto on the line before. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/plip.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/plip.c b/drivers/net/plip.c
index ec0349e84a8a..7e82a82422cf 100644
--- a/drivers/net/plip.c
+++ b/drivers/net/plip.c
@@ -1279,7 +1279,6 @@ static void plip_attach (struct parport *port)
if (!nl->pardev) {
printk(KERN_ERR "%s: parport_register failed\n", name);
goto err_free_dev;
- return;
}
plip_init_netdev(dev);