commit | 90bbebb4a8258a398705ecaa2e6b9e177928ee7a | [log] [tgz] |
---|---|---|
author | Mike McCormack <mikem@ring3k.org> | Tue Sep 01 03:21:35 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 01 17:40:42 2009 -0700 |
tree | b42a5319440725da3b296bcc727672ba7107452c | |
parent | 10547ae2c01acdace636e23c991b21fef05428b4 [diff] |
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>