plip: remove superflous return
Subsystems (3)
PATCH 1/1 plip: remove superflous return
This return isn't reachable and it obscures the goto on the line before.
Signed-off-by Dan Carpenter <[email protected]>
drivers/net/plip.c +0 -1
@@ -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);
From: Dan Carpenter <[email protected]>
Date: Tue, 24 Aug 2010 14:01:05 +0200
Quoted 3 lines
This return isn't reachable and it obscures the goto on the line before.
Signed-off-by Dan Carpenter <[email protected]>
Applied.