Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Hongbin Wang and committed by
David S. Miller
487dc3ca a5b116a0

-2
-2
net/ipv6/ip6_tunnel.c
··· 257 257 struct ip6_tnl_net *ip6n = net_generic(net, ip6_tnl_net_id); 258 258 int err; 259 259 260 - t = netdev_priv(dev); 261 - 262 260 dev->rtnl_link_ops = &ip6_link_ops; 263 261 err = register_netdevice(dev); 264 262 if (err < 0)