summaryrefslogtreecommitdiff
path: root/drivers/dma/ppc4xx
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2013-08-06 09:45:08 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-08-07 23:52:38 (GMT)
commit3d9953a2ef2182d56e268742259b11dedb8e281d (patch)
treea20e91bcc6cd02c8aaa6194e4be24bde9db7fb80 /drivers/dma/ppc4xx
parent0433547aa7443cefc89d9b533169bdc50f1206b8 (diff)
downloadlinux-fsl-qoriq-3d9953a2ef2182d56e268742259b11dedb8e281d.tar.xz
net: use skb_copy_datagram_from_iovec() in zerocopy_sg_from_iovec()
Use skb_copy_datagram_from_iovec() to avoid code duplication and make it easy to be read. Also we can do the skipping inside the zero-copy loop. Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/dma/ppc4xx')
0 files changed, 0 insertions, 0 deletions