i40e: use pf_id for pf function id in qtx_ctl
authorShannon Nelson <shannon.nelson@intel.com>
Sat, 28 Sep 2013 07:14:19 +0000 (07:14 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 22 Oct 2013 13:43:05 +0000 (06:43 -0700)
commit13fd977490fe39b7813fd7c80cce44336c1d8d38
treeca0332e2eda1089284522e45b30b990b2219c164
parent59072ba139549ff9850585fde3ec2935addfbff8
i40e: use pf_id for pf function id in qtx_ctl

Simplify code by using an already existing variable.

Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c