Commit 487dc3ca authored by Hongbin Wang's avatar Hongbin Wang Committed by David S. Miller

ip6_tunnel: Remove duplicate assignments

There is a same action when the variable is initialized
Signed-off-by: default avatarHongbin Wang <wh_bin@126.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a5b116a0
......@@ -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)
......
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