From: Jacob Keller Date: Wed, 3 Sep 2014 08:12:56 +0000 (+0000) Subject: ixgbe: move msix_entries allocation into ixgbe_acquire_msix_vectors X-Git-Tag: omap-for-v3.19/prcm-cleanup~78^2~27^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=027bb561eff4a5c2185d3cbad6a41785eb50dded;p=pandora-kernel.git ixgbe: move msix_entries allocation into ixgbe_acquire_msix_vectors We already have to kfree this value if we fail, and this is only part of MSI-X mode, so we should simply allocate the value where we need it. This is cleaner, and makes it a lot more obvious why we are freeing it inside of ixgbe_acquire_msix_vectors. Signed-off-by: Jacob Keller Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed