Commit 460deefa authored by Paul Moore's avatar Paul Moore Committed by David S. Miller

tun: Remove a dead line of code

Remove an unnecessary assignment.
Signed-off-by: default avatarPaul Moore <paul.moore@hp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 50f238fd
......@@ -995,7 +995,6 @@ static int tun_set_iff(struct net *net, struct file *file, struct ifreq *ifr)
goto err_free_sk;
}
err = -EINVAL;
err = register_netdevice(tun->dev);
if (err < 0)
goto err_free_sk;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment