There is a same action when the variable is initialized
Unified · Split
| @@ -257,8 +257,6 @@ static int ip6_tnl_create2(struct net_device *dev) · 256 unmodified lines | ||
| 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) |