From: Alexander Duyck Date: Fri, 20 Mar 2009 00:17:43 +0000 (+0000) Subject: igb: cleanup tx dma so map & unmap use matching calls X-Git-Tag: v2.6.30-rc1~662^2~152 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65689fef7e484631e996541a6772706627b0991a;p=pandora-kernel.git 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 Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed