mirror of https://gitee.com/openkylin/linux.git
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 off = base & ~PAGE_MASK;
|
||||||
int size = min_t(int, len, PAGE_SIZE - off);
|
int size = min_t(int, len, PAGE_SIZE - off);
|
||||||
skb_fill_page_desc(skb, i, page[i], off, size);
|
skb_fill_page_desc(skb, i, page[i], off, size);
|
||||||
/* increase sk_wmem_alloc */
|
|
||||||
base += size;
|
base += size;
|
||||||
len -= size;
|
len -= size;
|
||||||
i++;
|
i++;
|
||||||
|
|
Loading…
Reference in New Issue