net_dma: remove duplicate assignment in dma_skb_copy_datagram_iovec
authorBrice Goglin <Brice.Goglin@inria.fr>
Tue, 3 Jun 2008 23:07:45 +0000 (16:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Jun 2008 23:07:45 +0000 (16:07 -0700)
commit7557af25155a82ac2dad73eec6b0166868bf8ea2
tree6e9ac27f3e167823379e3c84b3cac21d71b00661
parentb9f5f52cca3e94f1e7509f366aa250ebbe1ed0b5
net_dma: remove duplicate assignment in dma_skb_copy_datagram_iovec

No need to compute copy twice in the frags loop in
dma_skb_copy_datagram_iovec().

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
Acked-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/user_dma.c