diff options
author | Catherine Sullivan | 2015-01-24 10:58:41 +0100 |
---|---|---|
committer | Jeff Kirsher | 2015-02-24 02:13:18 +0100 |
commit | 21af70fbfe4fe1cec48c63332a83e9ce018bc330 (patch) | |
tree | fbf4f181cac963305c1e991381d1309bbacd4ff2 /drivers/net/ethernet/intel/i40e/i40e_prototype.h | |
parent | i40e: Fix the EMPR interrupt received handling (diff) | |
download | kernel-qcow2-linux-21af70fbfe4fe1cec48c63332a83e9ce018bc330.tar.gz kernel-qcow2-linux-21af70fbfe4fe1cec48c63332a83e9ce018bc330.tar.xz kernel-qcow2-linux-21af70fbfe4fe1cec48c63332a83e9ce018bc330.zip |
i40e/i40evf: Remove unused variable an_enable and function update_link_info
An_enable was never used only set so lets remove it. The function
update_link_info only did two things, call get_link_info and set
an_enabled. Therefore we should also remove update_link_info and
change all references to it to get_link_info.
Change-ID: Ie3022680fa7a94bfd495a4f5fc76a73701d85569
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_prototype.h')
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_prototype.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_prototype.h b/drivers/net/ethernet/intel/i40e/i40e_prototype.h index de80cb2785a5..1247a45603a8 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_prototype.h +++ b/drivers/net/ethernet/intel/i40e/i40e_prototype.h @@ -97,7 +97,6 @@ i40e_status i40e_aq_set_link_restart_an(struct i40e_hw *hw, i40e_status i40e_aq_get_link_info(struct i40e_hw *hw, bool enable_lse, struct i40e_link_status *link, struct i40e_asq_cmd_details *cmd_details); -i40e_status i40e_update_link_info(struct i40e_hw *hw, bool enable_lse); i40e_status i40e_aq_set_local_advt_reg(struct i40e_hw *hw, u64 advt_reg, struct i40e_asq_cmd_details *cmd_details); |