diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2009-03-20 00:17:43 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-21 16:57:03 -0700 |
commit | 65689fef7e484631e996541a6772706627b0991a (patch) | |
tree | 7ad078b1dd22af24a7df121c9d70a3741c56a753 /net | |
parent | c5cd11e380002d24fd4fd4c0fc38f59ab394e885 (diff) | |
download | linux-3.10-65689fef7e484631e996541a6772706627b0991a.tar.gz linux-3.10-65689fef7e484631e996541a6772706627b0991a.tar.bz2 linux-3.10-65689fef7e484631e996541a6772706627b0991a.zip |
igb: cleanup tx dma so map & unmap use matching calls
The igb driver was using map_single to map the skbs and then unmap_page to
unmap them. This update changes that so instead uses skb_dma_map and
skb_dma_unmap.
In addition the next_to_watch member of the buffer_info struct was being
set uneccesarily. I removed the spots where it was set without being needed.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions