aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorMike McCormack <mikem@ring3k.org>2009-09-01 03:21:35 +0000
committerDavid S. Miller <davem@davemloft.net>2009-09-01 17:40:42 -0700
commit90bbebb4a8258a398705ecaa2e6b9e177928ee7a (patch)
treeb42a5319440725da3b296bcc727672ba7107452c /samples
parent10547ae2c01acdace636e23c991b21fef05428b4 (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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions