From: Eric W. Biederman Date: Tue, 15 Sep 2015 01:14:45 +0000 (-0500) Subject: openvswitch: Remove ovs_vport_output_sk X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=184e16d79d38634cbb7b7c1cd3832caf89595c9a;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git openvswitch: Remove ovs_vport_output_sk This was a compatibility function needed while the ipv4 and ipv6 fragmentation code was being modified to pass a struct net through them. Now that is complete this function has no more users so remove it. Signed-off-by: "Eric W. Biederman" --- diff --git a/net/openvswitch/actions.c b/net/openvswitch/actions.c index f33c627f97b3..1d21ab9d2b5c 100644 --- a/net/openvswitch/actions.c +++ b/net/openvswitch/actions.c @@ -645,11 +645,6 @@ static int ovs_vport_output(struct net *net, struct sock *sk, struct sk_buff *sk ovs_vport_send(vport, skb); return 0; } -static int ovs_vport_output_sk(struct sock *sk, struct sk_buff *skb) -{ - struct net *net = dev_net(skb_dst(skb)->dev); - return ovs_vport_output(net, sk, skb); -} static unsigned int ovs_dst_get_mtu(const struct dst_entry *dst)