mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 13:41:55 +00:00
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>
This commit is contained in:
parent
ad01b7d480
commit
884c06f477
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user