net: Kill skb_copy_datagram_const_iovec
Now that both macvtap and tun are using skb_copy_datagram_iter, we can kill the abomination that is skb_copy_datagram_const_iovec. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
6c36d2e26c
commit
bfe1be38fc
@@ -2651,9 +2651,6 @@ int skb_copy_datagram_from_iovec(struct sk_buff *skb, int offset,
|
||||
int len);
|
||||
int zerocopy_sg_from_iovec(struct sk_buff *skb, const struct iovec *frm,
|
||||
int offset, size_t count);
|
||||
int skb_copy_datagram_const_iovec(const struct sk_buff *from, int offset,
|
||||
const struct iovec *to, int to_offset,
|
||||
int size);
|
||||
int skb_copy_datagram_iter(const struct sk_buff *from, int offset,
|
||||
struct iov_iter *to, int size);
|
||||
void skb_free_datagram(struct sock *sk, struct sk_buff *skb);
|
||||
|
Reference in New Issue
Block a user