From: Eric Dumazet Date: Wed, 17 Nov 2010 03:27:18 +0000 (-0800) Subject: ixgbe: refactor ixgbe_alloc_queues() X-Git-Tag: v2.6.38-rc1~476^2~547^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2ddeba95c09d0d44719ff005e915dc06ff46571;p=pandora-kernel.git ixgbe: refactor ixgbe_alloc_queues() I noticed ring variable was initialized before allocations, and that memory node management was a bit ugly. We also leak memory in case of ring allocations error. Signed-off-by: Eric Dumazet Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed