From: Eric W. Biederman Date: Tue, 15 Sep 2015 01:14:45 +0000 (-0500) Subject: openvswitch: Remove ovs_vport_output_sk X-Git-Tag: v4.4-rc1~141^2~224^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=184e16d79d38634cbb7b7c1cd3832caf89595c9a;p=thirdparty%2Fkernel%2Flinux.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 f33c627f97b37..1d21ab9d2b5c0 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)