Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec125890 authored by Alexey Kodanev's avatar Alexey Kodanev Committed by David S. Miller
Browse files

ip6_gre: remove redundant 'tunnel' setting in ip6erspan_tap_init()



'tunnel' was already set at the start of ip6erspan_tap_init().

Fixes: 5a963eb6 ("ip6_gre: Add ERSPAN native tunnel support")
Signed-off-by: default avatarAlexey Kodanev <alexey.kodanev@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ce5a453c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1762,7 +1762,6 @@ static int ip6erspan_tap_init(struct net_device *dev)
		dev->mtu -= 8;

	dev->priv_flags |= IFF_LIVE_ADDR_CHANGE;
	tunnel = netdev_priv(dev);
	ip6gre_tnl_link_config(tunnel, 1);

	return 0;