]> git.baikalelectronics.ru Git - kernel.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)
commitc1d32613dd0e00119cd846eb0011d412ffe8e1f9
tree80c9e3e34abd006657ea6bda991472fd9c781022
parenta88b56585272fe66eaaba506a32d6e894d213f25
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