]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerJack Vogel <jack.vogel@oracle.com>
Tue, 10 Oct 2017 21:15:24 +0000 (14:15 -0700)
commit21ffbfea45ec6499b56cc0f40e27d7dbbdc89daf
tree83eab380f311c16f380691eda804c0352a19461f
parent450a75b8c4ccca956032a41e3efb921a40e47a95
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>
Orabug: 26785018
(cherry picked from commit 61189556692e8e58c97e764d6b3f24db5cd243de)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
Reviewed-by: Kyle Fortin <kyle.fortin@oracle.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40e/i40e_ptp.c