summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2013-08-06 09:45:06 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-08-07 23:52:37 (GMT)
commit234a4267085e85d0cc5552c340833bb2d82a50e7 (patch)
treed1a6a3c4e2762359d44b0a5a99c2107b624fdc85
parent0a57ec62dfa4b639d86aba60c236904def1d0356 (diff)
downloadlinux-234a4267085e85d0cc5552c340833bb2d82a50e7.tar.xz
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>
-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 bec0867..a8a795c 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++;