mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 09:13:38 +00:00
ip6_tunnel: Remove duplicate assignments
There is a same action when the variable is initialized Signed-off-by: Hongbin Wang <wh_bin@126.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a5b116a0fa
commit
487dc3ca60
@ -257,8 +257,6 @@ static int ip6_tnl_create2(struct net_device *dev)
|
||||
struct ip6_tnl_net *ip6n = net_generic(net, ip6_tnl_net_id);
|
||||
int err;
|
||||
|
||||
t = netdev_priv(dev);
|
||||
|
||||
dev->rtnl_link_ops = &ip6_link_ops;
|
||||
err = register_netdevice(dev);
|
||||
if (err < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user