mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 08:02:07 +00:00
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>
This commit is contained in:
parent
0a57ec62df
commit
234a426708
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user