diff options
author | Mike McCormack <mikem@ring3k.org> | 2009-09-01 07:21:35 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-02 04:40:42 +0400 |
commit | 90bbebb4a8258a398705ecaa2e6b9e177928ee7a (patch) | |
tree | b42a5319440725da3b296bcc727672ba7107452c /drivers/net/sky2.h | |
parent | 10547ae2c01acdace636e23c991b21fef05428b4 (diff) | |
download | linux-90bbebb4a8258a398705ecaa2e6b9e177928ee7a.tar.xz |
sky2: Create buffer alloc and free helpers
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>
Diffstat (limited to 'drivers/net/sky2.h')
0 files changed, 0 insertions, 0 deletions