diff options
author | Jason Wang <jasowang@redhat.com> | 2013-08-06 11:45:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-08 01:52:37 +0200 |
commit | 234a4267085e85d0cc5552c340833bb2d82a50e7 (patch) | |
tree | d1a6a3c4e2762359d44b0a5a99c2107b624fdc85 /net/core | |
parent | net: use skb_fill_page_desc() in zerocopy_sg_from_iovec() (diff) | |
download | linux-234a4267085e85d0cc5552c340833bb2d82a50e7.tar.xz linux-234a4267085e85d0cc5552c340833bb2d82a50e7.zip |
net: remove the useless comment in zerocopy_sg_from_iovec()
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/datagram.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/core/datagram.c b/net/core/datagram.c index bec08672644a..a8a795cfeff5 100644 --- a/net/core/datagram.c +++ b/net/core/datagram.c @@ -653,7 +653,6 @@ int zerocopy_sg_from_iovec(struct sk_buff *skb, const struct iovec *from, int off = base & ~PAGE_MASK; int size = min_t(int, len, PAGE_SIZE - off); skb_fill_page_desc(skb, i, page[i], off, size); - /* increase sk_wmem_alloc */ base += size; len -= size; i++; |