diff options
author | Greg Rose <gvrose8192@gmail.com> | 2019-10-31 13:30:39 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2019-10-31 14:08:02 -0700 |
commit | adf9ac69aee18889ee250d417d56db86af3448b2 (patch) | |
tree | 5a5101fd90e6f0209dd75fc1524026688e359a3a /datapath | |
parent | 75ad1cd6e94a06d09646ebd03097eedf39b0c6db (diff) | |
download | openvswitch-adf9ac69aee18889ee250d417d56db86af3448b2.tar.gz |
ip_gre: Removed unused ipgre netdev ops
When cleaning up unused ipgre code the ipgre_netdev_ops structure
was missed. Get rid of it now.
Fixes: d5822f428814 ("gre: Remove dead ipgre code")
Signed-off-by: Greg Rose <gvrose8192@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'datapath')
-rw-r--r-- | datapath/linux/compat/ip_gre.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/datapath/linux/compat/ip_gre.c b/datapath/linux/compat/ip_gre.c index 2852dad76..3b7e607d5 100644 --- a/datapath/linux/compat/ip_gre.c +++ b/datapath/linux/compat/ip_gre.c @@ -1024,22 +1024,6 @@ free_skb: return NETDEV_TX_OK; } -static const struct net_device_ops ipgre_netdev_ops = { - .ndo_init = ipgre_tunnel_init, - .ndo_uninit = rpl_ip_tunnel_uninit, - .ndo_start_xmit = ipgre_xmit, -#ifdef HAVE_RHEL7_MAX_MTU - .ndo_size = sizeof(struct net_device_ops), - .extended.ndo_change_mtu = ip_tunnel_change_mtu, -#else - .ndo_change_mtu = ip_tunnel_change_mtu, -#endif - .ndo_get_stats64 = ip_tunnel_get_stats64, -#ifdef HAVE_GET_LINK_NET - .ndo_get_iflink = ip_tunnel_get_iflink, -#endif -}; - static const struct net_device_ops gre_tap_netdev_ops = { .ndo_init = gre_tap_init, .ndo_uninit = rpl_ip_tunnel_uninit, |