diff options
author | Paul Moore <paul.moore@hp.com> | 2009-07-07 08:11:33 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-07 19:22:11 -0700 |
commit | 460deefae62db4472e8bd16b21c7d70f3c7fd785 (patch) | |
tree | 870d0b16f5ba309e57ce224112d1a965bc2d9153 /drivers/net/tun.c | |
parent | 50f238fdf38e37f0350be17c36e3ec0fd298cc40 (diff) | |
download | op-kernel-dev-460deefae62db4472e8bd16b21c7d70f3c7fd785.zip op-kernel-dev-460deefae62db4472e8bd16b21c7d70f3c7fd785.tar.gz |
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>
Diffstat (limited to 'drivers/net/tun.c')
-rw-r--r-- | drivers/net/tun.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c index c3927b4..92ffd11 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -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; |