sky2: Create buffer alloc and free helpers
authorMike McCormack <mikem@ring3k.org>
Tue, 1 Sep 2009 03:21:35 +0000 (03:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Sep 2009 00:40:42 +0000 (17:40 -0700)
Refactor similar two sections of code that free buffers into one.
Only call tx_init if all buffer allocations succeed.

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found