summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2013-08-06 17:45:06 +0800
committerDavid S. Miller <davem@davemloft.net>2013-08-07 16:52:37 -0700
commit234a4267085e85d0cc5552c340833bb2d82a50e7 (patch)
treed1a6a3c4e2762359d44b0a5a99c2107b624fdc85 /net/core
parent0a57ec62dfa4b639d86aba60c236904def1d0356 (diff)
downloadlinux-stable-234a4267085e85d0cc5552c340833bb2d82a50e7.tar.gz
linux-stable-234a4267085e85d0cc5552c340833bb2d82a50e7.tar.bz2
linux-stable-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.c1
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++;