aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/plip.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-08-23 22:01:05 -0400
committerDavid S. Miller <davem@davemloft.net>2010-08-25 19:36:48 -0400
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 ec0349e84a8a..7e82a82422cf 100644
--- a/drivers/net/plip.c
+++ b/drivers/net/plip.c
@@ -1279,7 +1279,6 @@ static void plip_attach (struct parport *port)
1279 if (!nl->pardev) { 1279 if (!nl->pardev) {
1280 printk(KERN_ERR "%s: parport_register failed\n", name); 1280 printk(KERN_ERR "%s: parport_register failed\n", name);
1281 goto err_free_dev; 1281 goto err_free_dev;
1282 return;
1283 } 1282 }
1284 1283
1285 plip_init_netdev(dev); 1284 plip_init_netdev(dev);