i40e: use pf data structure directly in i40e_ptp_rx_hang
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 3 May 2017 17:29:01 +0000 (10:29 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 31 May 2017 10:10:16 +0000 (03:10 -0700)
commit61189556692e8e58c97e764d6b3f24db5cd243de
tree5e8e471b3635ba88e3decd7c405d7b665b6b2fc5
parent2955faca0403a4f6029d589f60ff44be09f24859
i40e: use pf data structure directly in i40e_ptp_rx_hang

There's no reason to pass a *vsi pointer if we already have the *pf
pointer in the only location where we call this function. Lets update
the signature and directly pass the *pf data structure pointer.

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