p6_tunnel: Remove duplicate assignments
Subsystems (3)
PATCH 1/1 p6_tunnel: Remove duplicate assignments
there is a same action when the variable is initialized
Signed-off-by hongbin wang <[email protected]>
--- net/ipv6/ip6_tunnel.c | 2 -- 1 file changed, 2 deletions(-)
net/ipv6/ip6_tunnel.c +0 -2
@@ -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 )
Signature · 1 line
2.25.1
Jakub Kicinski
maintainerQuoted 1 line · On Tue, 22 Mar 2022 15:45:25 +0800 hongbin wang wrote:
there is a same action when the variable is initialized
net-next is closed, please resend in 2 weeks.