* [PATCH] p6_tunnel: Remove duplicate assignments
@ 2022-03-22 7:45 hongbin wang
2022-03-22 18:43 ` Jakub Kicinski
0 siblings, 1 reply; 2+ messages in thread
From: hongbin wang @ 2022-03-22 7:45 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 97ade833f58c..013e9998a45a 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] p6_tunnel: Remove duplicate assignments
2022-03-22 7:45 [PATCH] p6_tunnel: Remove duplicate assignments hongbin wang
@ 2022-03-22 18:43 ` Jakub Kicinski
0 siblings, 0 replies; 2+ messages in thread
From: Jakub Kicinski @ 2022-03-22 18:43 UTC (permalink / raw)
To: hongbin wang; +Cc: davem, yoshfuji, dsahern, pabeni, netdev
On Tue, 22 Mar 2022 15:45:25 +0800 hongbin wang wrote:
> there is a same action when the variable is initialized
net-next is closed, please resend in 2 weeks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-03-22 18:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-22 7:45 [PATCH] p6_tunnel: Remove duplicate assignments hongbin wang
2022-03-22 18:43 ` Jakub Kicinski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.