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)
commite7bac7afa612f911a9fe0a035007592e1b86c8d4
tree9460c642601dfe836a99836f4725f6d009b115dc
parent0ce5233e6c2afeb39b9631961978a993a6d4e500
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