History

ip6_tunnel: Remove duplicate assignments

There is a same action when the variable is initialized

Hongbin Wang committed 4 years ago

Commit 487dc3c1 parent a5b116a1 file · +0 −2Browse files

Unified · Split

net/ipv6/ip6_tunnel.c+0−2
@@ -257,8 +257,6 @@ static int ip6_tnl_create2(struct net_device *dev) · 256 unmodified lines
257257 struct ip6_tnl_net *ip6n = net_generic(net, ip6_tnl_net_id);
258258 int err;
259259
260− t = netdev_priv(dev);
261−
262260 dev->rtnl_link_ops = &ip6_link_ops;
263261 err = register_netdevice(dev);
264262 if (err < 0)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t