commit | 027bb561eff4a5c2185d3cbad6a41785eb50dded | [log] [tgz] |
---|---|---|
author | Jacob Keller <jacob.e.keller@intel.com> | Wed Sep 03 08:12:56 2014 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Thu Sep 18 03:48:49 2014 -0700 |
tree | c4f014ec815e9316e913247b6d715e84c66a4a08 | |
parent | d7de3c6e8154c0d0398127bcc09977e260fdff55 [diff] |
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 <jacob.e.keller@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>