]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: use declared variables for pf and hw
authorPatryk Małek <patryk.malek@intel.com>
Tue, 28 Aug 2018 17:16:04 +0000 (10:16 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 25 Sep 2018 20:03:36 +0000 (13:03 -0700)
commitfe8bb3b18e81950c673006246cd3d5ab21467ccc
tree9460c642601dfe836a99836f4725f6d009b115dc
parent61bc33372b0a7ee6cb28d2c3f6ac7669e42139d2
i40e: use declared variables for pf and hw

In order to slightly simplify the code use the variables for pf and hw
that are declared in i40e_set_mac function.

Signed-off-by: Patryk Małek <patryk.malek@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