瀏覽代碼

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" <ebiederm@xmission.com>
Eric W. Biederman 10 年之前
父節點
當前提交
184e16d79d
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      net/openvswitch/actions.c

+ 0 - 5
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);
 	ovs_vport_send(vport, skb);
 	return 0;
 	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
 static unsigned int
 ovs_dst_get_mtu(const struct dst_entry *dst)
 ovs_dst_get_mtu(const struct dst_entry *dst)