Commit 5ea03042 authored by Jean Sacren's avatar Jean Sacren Committed by David S. Miller
Browse files

openvswitch: clean up unused function

commit 6b001e68

 ("openvswitch: Use Geneve device.")

The commit above deleted the only call site of ovs_tunnel_route_lookup()
and now that function is not used any more. So let's delete the function
definition as well.
Signed-off-by: default avatarJean Sacren <>
Acked-by: default avatarThomas Graf <>
Signed-off-by: default avatarDavid S. Miller <>
parent 3c6396d6
...@@ -204,26 +204,6 @@ int __ovs_vport_ops_register(struct vport_ops *ops); ...@@ -204,26 +204,6 @@ int __ovs_vport_ops_register(struct vport_ops *ops);
}) })
void ovs_vport_ops_unregister(struct vport_ops *ops); void ovs_vport_ops_unregister(struct vport_ops *ops);
static inline struct rtable *ovs_tunnel_route_lookup(struct net *net,
const struct ip_tunnel_key *key,
u32 mark,
struct flowi4 *fl,
u8 protocol)
struct rtable *rt;
memset(fl, 0, sizeof(*fl));
fl->daddr = key->u.ipv4.dst;
fl->saddr = key->u.ipv4.src;
fl->flowi4_tos = RT_TOS(key->tos);
fl->flowi4_mark = mark;
fl->flowi4_proto = protocol;
rt = ip_route_output_key(net, fl);
return rt;
void ovs_vport_send(struct vport *vport, struct sk_buff *skb); void ovs_vport_send(struct vport *vport, struct sk_buff *skb);
#endif /* vport.h */ #endif /* vport.h */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment