]> git.proxmox.com Git - ovs.git/commitdiff
ip_gre: Removed unused ipgre netdev ops
authorGreg Rose <gvrose8192@gmail.com>
Thu, 31 Oct 2019 20:30:39 +0000 (13:30 -0700)
committerBen Pfaff <blp@ovn.org>
Thu, 31 Oct 2019 21:08:02 +0000 (14:08 -0700)
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>
datapath/linux/compat/ip_gre.c

index 2852dad76e1af60088461bf255b79ac7967a97f7..3b7e607d597cfd70f7da0c9b3168c326a4effe51 100644 (file)
@@ -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,