aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbevf/ixgbevf_main.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-11-16 19:27:18 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2010-11-16 19:27:18 -0800
commite2ddeba95c09d0d44719ff005e915dc06ff46571 (patch)
tree840662eeaec906826885de85b7238afd6c8c1345 /drivers/net/ixgbevf/ixgbevf_main.c
parentixgbe: add support for x540 MAC (diff)
downloadlinux-dev-e2ddeba95c09d0d44719ff005e915dc06ff46571.tar.xz
linux-dev-e2ddeba95c09d0d44719ff005e915dc06ff46571.zip
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 <eric.dumazet@gmail.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions