Skip to contentSkip to conversation

ip6_tunnel: Remove duplicate assignments

PATCH Applied Hongbin Wang 2 participants 2 messages Apr 6, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ip6_tunnel: Remove duplicate assignments

There is a same action when the variable is initialized

---
 net/ipv6/ip6_tunnel.c | 2 --
 1 file changed, 2 deletions(-)
net/ipv6/ip6_tunnel.c +0 -2
index 53f632a560ec..19325b7600bb 100644
@@ -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
#1 lore raw
This patch was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:

Quoted 6 lines · On Tue, 5 Apr 2022 22:06:34 -0400 you wrote:

There is a same action when the variable is initialized

---
 net/ipv6/ip6_tunnel.c | 2 --
 1 file changed, 2 deletions(-)

Here is the summary with links:
- ip6_tunnel: Remove duplicate assignments

    https://git.kernel.org/netdev/net-next/c/487dc3ca60e3

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html