i40e: remove workaround for resetting XPS
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 14 Jul 2017 13:10:08 +0000 (09:10 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 27 Aug 2017 23:06:02 +0000 (16:06 -0700)
commitba4460d45a6ec04e29e55e6c97edc0e842c18999
tree76c495739f3f5e9ec999900dbe372a0fb8a08198
parent19279235bea221798e3307a8bec2c02559cab0c5
i40e: remove workaround for resetting XPS

Since commit 3ffa037d7f78 ("i40e: Set XPS bit mask to zero in DCB mode")
we've tried to reset the XPS settings by building a custom
empty CPU mask.

This workaround is not necessary because we're not really removing the
XPS setting, but simply setting it so that no CPU is valid.

Second, we shorten the code further by using zalloc_cpumask_var instead
of a separate call to bitmap_zero().

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c