ixgbe: refactor ixgbe_alloc_queues()
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 17 Nov 2010 03:27:18 +0000 (19:27 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 17 Nov 2010 03:27:18 +0000 (19:27 -0800)
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 <eric.dumazet@gmail.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

No differences found