]> 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)
commitec5732b72c2415982e252b9883eb7ce09097d03c
tree9460c642601dfe836a99836f4725f6d009b115dc
parent0e510adf136f28c29fb400c27f7ca92551ddf4da
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