igb: cleanup tx dma so map & unmap use matching calls
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 20 Mar 2009 00:17:43 +0000 (00:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Mar 2009 23:57:03 +0000 (16:57 -0700)
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>

No differences found