summaryrefslogtreecommitdiffstats
path: root/include/linux/skbuff.h
diff options
context:
space:
mode:
authorHerbert Xu2014-11-07 14:22:26 +0100
committerDavid S. Miller2014-11-07 18:13:34 +0100
commitbfe1be38fcee0e13ad53175d0b530707c20f93ec (patch)
treeb39b0d73e155780b340a337637c11c557d2181ca /include/linux/skbuff.h
parentmacvtap: Use iovec iterators (diff)
downloadkernel-qcow2-linux-bfe1be38fcee0e13ad53175d0b530707c20f93ec.tar.gz
kernel-qcow2-linux-bfe1be38fcee0e13ad53175d0b530707c20f93ec.tar.xz
kernel-qcow2-linux-bfe1be38fcee0e13ad53175d0b530707c20f93ec.zip
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>
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r--include/linux/skbuff.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 933cfce7fcd9..103fbe8113f8 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -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);