From: Jacob Keller Date: Wed, 3 Sep 2014 08:12:57 +0000 (+0000) Subject: ixgbe: determine vector count inside ixgbe_acquire_msix_vectors X-Git-Tag: fixes-against-v3.18-rc2~81^2~27^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bcf344657afefdd468dd9c2b30a009ee7ce7abc;p=pandora-kernel.git ixgbe: determine vector count inside ixgbe_acquire_msix_vectors Our calculated v_budget doesn't matter except if we allocate MSI-X vectors. We shouldn't need to calculate this outside of the function, so don't. Instead, only calculate it once we attempt to acquire MSI-X vectors. This helps collocate all of the MSI-X vector code together. Signed-off-by: Jacob Keller Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed