]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
igb: use igb_free_q_vectors to cleanup failure in igb_alloc_q_vectors
authorNick Nunley <nicholasx.d.nunley@intel.com>
Wed, 17 Feb 2010 01:05:35 +0000 (01:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2010 21:21:38 +0000 (13:21 -0800)
commitfe0592b4be0ce362e87cefd4f6dbf12cb5704d1b
tree80c9e3e34abd006657ea6bda991472fd9c781022
parentd3eeb62ddd06ea20a054213cface92d328709285
igb: use igb_free_q_vectors to cleanup failure in igb_alloc_q_vectors

This change makes it so that igb_free_q_vectors is reused in
igb_alloc_q_vectors to handle the cleanup instead of unwinding
through the allocations.

Signed-off-by: Nicholas Nunley <nicholasx.d.nunley@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb_main.c