]> git.baikalelectronics.ru Git - kernel.git/commit
gianfar: Simplify skb resources freeing code
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Mon, 12 Oct 2009 06:00:30 +0000 (06:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2009 06:54:02 +0000 (23:54 -0700)
commitaa9446c873f336721937f958d0ea21a0f29c0c1a
tree28069eedd9e8c972282b10de844f7a14737ad288
parentb6bbc55f0f022b48a7e20ac397be904a876009c2
gianfar: Simplify skb resources freeing code

Remove dma_free_coherent() from stop_gfar() and gfar_start() calls,
place it into free_skb_resources(). That makes SKB resources management
more understandable, plus free_skb_resources() will be used as a cleanup
routine for gfar_alloc_skb_resources() that will be implemented soon.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c