Commit a5282f44 authored by Akeem G Abodunrin's avatar Akeem G Abodunrin Committed by Jeff Kirsher

i40e/i40evf: Clean up a few things

1. There is no ixgbe_watchdog_task function in the driver, so change
   the comment to the correct function name, i40e_watchdog_subtask.
2. Remove num_msix_entries from interrupt set_up routine
   because it is never used.
3. Remove some TBD comments that are not needed.

Change-ID: I37697a04007074b797f85fd83d626672e4df1ad1
Signed-off-by: default avatarAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 467d729a
...@@ -201,7 +201,6 @@ struct i40e_pf { ...@@ -201,7 +201,6 @@ struct i40e_pf {
unsigned long state; unsigned long state;
unsigned long link_check_timeout; unsigned long link_check_timeout;
struct msix_entry *msix_entries; struct msix_entry *msix_entries;
u16 num_msix_entries;
bool fc_autoneg_status; bool fc_autoneg_status;
u16 eeprom_version; u16 eeprom_version;
......
...@@ -397,7 +397,7 @@ static struct rtnl_link_stats64 *i40e_get_netdev_stats_struct( ...@@ -397,7 +397,7 @@ static struct rtnl_link_stats64 *i40e_get_netdev_stats_struct(
} }
rcu_read_unlock(); rcu_read_unlock();
/* following stats updated by ixgbe_watchdog_task() */ /* following stats updated by i40e_watchdog_subtask() */
stats->multicast = vsi_stats->multicast; stats->multicast = vsi_stats->multicast;
stats->tx_errors = vsi_stats->tx_errors; stats->tx_errors = vsi_stats->tx_errors;
stats->tx_dropped = vsi_stats->tx_dropped; stats->tx_dropped = vsi_stats->tx_dropped;
...@@ -6139,8 +6139,6 @@ static int i40e_reserve_msix_vectors(struct i40e_pf *pf, int vectors) ...@@ -6139,8 +6139,6 @@ static int i40e_reserve_msix_vectors(struct i40e_pf *pf, int vectors)
vectors = 0; vectors = 0;
} }
pf->num_msix_entries = vectors;
return vectors; return vectors;
} }
......
...@@ -341,10 +341,6 @@ struct i40e_virtchnl_pf_event { ...@@ -341,10 +341,6 @@ struct i40e_virtchnl_pf_event {
int severity; int severity;
}; };
/* The following are TBD, not necessary for LAN functionality.
* I40E_VIRTCHNL_OP_FCOE
*/
/* VF reset states - these are written into the RSTAT register: /* VF reset states - these are written into the RSTAT register:
* I40E_VFGEN_RSTAT1 on the PF * I40E_VFGEN_RSTAT1 on the PF
* I40E_VFGEN_RSTAT on the VF * I40E_VFGEN_RSTAT on the VF
......
...@@ -341,10 +341,6 @@ struct i40e_virtchnl_pf_event { ...@@ -341,10 +341,6 @@ struct i40e_virtchnl_pf_event {
int severity; int severity;
}; };
/* The following are TBD, not necessary for LAN functionality.
* I40E_VIRTCHNL_OP_FCOE
*/
/* VF reset states - these are written into the RSTAT register: /* VF reset states - these are written into the RSTAT register:
* I40E_VFGEN_RSTAT1 on the PF * I40E_VFGEN_RSTAT1 on the PF
* I40E_VFGEN_RSTAT on the VF * I40E_VFGEN_RSTAT on the VF
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment