* [PATCH] ip6_tunnel: Remove duplicate assignments
@ 2022-04-06 2:06 Hongbin Wang
2022-04-06 14:40 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Hongbin Wang @ 2022-04-06 2:06 UTC (permalink / raw)
To: davem; +Cc: yoshfuji, sahern, kuba, pabeni, netdev, linux-kernel
There is a same action when the variable is initialized
Signed-off-by: Hongbin Wang <wh_bin@126.com>
---
net/ipv6/ip6_tunnel.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c
index 53f632a560ec..19325b7600bb 100644
--- a/net/ipv6/ip6_tunnel.c
+++ b/net/ipv6/ip6_tunnel.c
@@ -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)
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ip6_tunnel: Remove duplicate assignments
2022-04-06 2:06 [PATCH] ip6_tunnel: Remove duplicate assignments Hongbin Wang
@ 2022-04-06 14:40 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-04-06 14:40 UTC (permalink / raw)
To: Hongbin Wang; +Cc: davem, yoshfuji, sahern, kuba, pabeni, netdev, linux-kernel
Hello:
This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:
On Tue, 5 Apr 2022 22:06:34 -0400 you wrote:
> There is a same action when the variable is initialized
>
> Signed-off-by: Hongbin Wang <wh_bin@126.com>
> ---
> 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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-06 17:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-06 2:06 [PATCH] ip6_tunnel: Remove duplicate assignments Hongbin Wang
2022-04-06 14:40 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).