summaryrefslogtreecommitdiffstats
path: root/drivers/net/plip.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-08-24 02:01:05 +0000
committerDavid S. Miller <davem@davemloft.net>2010-08-25 16:36:48 -0700
commit884c06f4777c598ea7bf4fbc7557ff2fca066f63 (patch)
tree1b36f8f0f00e02f3f1110df3d8f5bfbe5e189eee /drivers/net/plip.c
parentad01b7d480a4a135f974afd5c617c417e0b0542f (diff)
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>
Diffstat (limited to 'drivers/net/plip.c')
-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 ec0349e84a8..7e82a82422c 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);