projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a57ec6
)
net: remove the useless comment in zerocopy_sg_from_iovec()
author
Jason Wang
<jasowang@redhat.com>
Tue, 6 Aug 2013 09:45:06 +0000
(17:45 +0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 7 Aug 2013 23:52:37 +0000
(16:52 -0700)
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/datagram.c
patch
|
blob
|
history
diff --git
a/net/core/datagram.c
b/net/core/datagram.c
index
bec0867
..
a8a795c
100644
(file)
--- 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++;