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:
Родитель
ad01b7d480
Коммит
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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче