aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40evf/i40e_type.h
diff options
context:
space:
mode:
authorCatherine Sullivan <catherine.sullivan@intel.com>2015-01-24 09:58:41 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-02-23 17:13:18 -0800
commit21af70fbfe4fe1cec48c63332a83e9ce018bc330 (patch)
treefbf4f181cac963305c1e991381d1309bbacd4ff2 /drivers/net/ethernet/intel/i40evf/i40e_type.h
parenti40e: Fix the EMPR interrupt received handling (diff)
downloadlinux-dev-21af70fbfe4fe1cec48c63332a83e9ce018bc330.tar.xz
linux-dev-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/i40evf/i40e_type.h')
-rw-r--r--drivers/net/ethernet/intel/i40evf/i40e_type.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/i40evf/i40e_type.h b/drivers/net/ethernet/intel/i40evf/i40e_type.h
index 3d0fdaab5cc8..c8cd8afdbf8f 100644
--- a/drivers/net/ethernet/intel/i40evf/i40e_type.h
+++ b/drivers/net/ethernet/intel/i40evf/i40e_type.h
@@ -175,7 +175,6 @@ struct i40e_link_status {
u8 an_info;
u8 ext_info;
u8 loopback;
- bool an_enabled;
/* is Link Status Event notification to SW enabled */
bool lse_enable;
u16 max_frame_size;