mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 01:31:44 +00:00
tun: Remove a dead line of code
Remove an unnecessary assignment. Signed-off-by: Paul Moore <paul.moore@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
50f238fdf3
commit
460deefae6
@ -995,7 +995,6 @@ static int tun_set_iff(struct net *net, struct file *file, struct ifreq *ifr)
|
|||||||
goto err_free_sk;
|
goto err_free_sk;
|
||||||
}
|
}
|
||||||
|
|
||||||
err = -EINVAL;
|
|
||||||
err = register_netdevice(tun->dev);
|
err = register_netdevice(tun->dev);
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
goto err_free_sk;
|
goto err_free_sk;
|
||||||
|
Loading…
Reference in New Issue
Block a user