tg3: Generalize tg3_skb_error_unmap()
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 27 Jul 2011 14:20:49 +0000 (14:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jul 2011 05:39:31 +0000 (22:39 -0700)
commit0d681b27b0efc962a3038a316e78373de7bfe1ce
tree0ff87deba13d372b5f8262e741dc121c0e07f32f
parent13350ea78bd687a229af0f6052d2f45aa50a6524
tg3: Generalize tg3_skb_error_unmap()

In the following patches, unmapping skb fragments will get just as
complicated as mapping them.  This patch generalizes
tg3_skb_error_unmap() and makes it the one-stop-shop for skb unmapping.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c