projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50f238f
)
tun: Remove a dead line of code
author
Paul Moore
<paul.moore@hp.com>
Tue, 7 Jul 2009 08:11:33 +0000
(08:11 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 8 Jul 2009 02:22:11 +0000
(19:22 -0700)
Remove an unnecessary assignment.
Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/tun.c
b/drivers/net/tun.c
index c3927b423743d13611cd743eed870630ff4e22d7..92ffd11a71959d342e77a88ef0aa2c36def07bcb 100644
(file)
--- 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;