diff options
author | Kevin Scott <kevin.c.scott@intel.com> | 2014-04-05 03:46:10 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-04-28 08:51:34 -0400 |
commit | f4f94b94d6d6923ba7abfd1eedf931dcc1ccbbd5 (patch) | |
tree | 1edd7b802d4ff5ce30f230aaad3d70d9fa419046 | |
parent | 53275f28f84b91c6c581242f8fec23f7104d69f0 (diff) |
i40e: Update function formal parameters
Change the formal parameters to remove argument which is no longer used.
Change-ID: I493b56eba74a1f396fa1b7d24c0a4acbe536b5bf
Signed-off-by: Kevin Scott <kevin.c.scott@intel.com>
Acked-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_common.c | 4 | ||||
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_main.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_prototype.h | 4 |
3 files changed, 4 insertions, 6 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_common.c b/drivers/net/ethernet/intel/i40e/i40e_common.c index e19df8f95d64..55d029f78e9a 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_common.c +++ b/drivers/net/ethernet/intel/i40e/i40e_common.c | |||
@@ -2102,8 +2102,8 @@ i40e_status i40e_aq_start_lldp(struct i40e_hw *hw, | |||
2102 | * @cmd_details: pointer to command details structure or NULL | 2102 | * @cmd_details: pointer to command details structure or NULL |
2103 | **/ | 2103 | **/ |
2104 | i40e_status i40e_aq_add_udp_tunnel(struct i40e_hw *hw, | 2104 | i40e_status i40e_aq_add_udp_tunnel(struct i40e_hw *hw, |
2105 | u16 udp_port, u8 header_len, | 2105 | u16 udp_port, u8 protocol_index, |
2106 | u8 protocol_index, u8 *filter_index, | 2106 | u8 *filter_index, |
2107 | struct i40e_asq_cmd_details *cmd_details) | 2107 | struct i40e_asq_cmd_details *cmd_details) |
2108 | { | 2108 | { |
2109 | struct i40e_aq_desc desc; | 2109 | struct i40e_aq_desc desc; |
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c index 550656104600..b27162b7d383 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_main.c +++ b/drivers/net/ethernet/intel/i40e/i40e_main.c | |||
@@ -5608,7 +5608,6 @@ static void i40e_handle_mdd_event(struct i40e_pf *pf) | |||
5608 | **/ | 5608 | **/ |
5609 | static void i40e_sync_vxlan_filters_subtask(struct i40e_pf *pf) | 5609 | static void i40e_sync_vxlan_filters_subtask(struct i40e_pf *pf) |
5610 | { | 5610 | { |
5611 | const int vxlan_hdr_qwords = 4; | ||
5612 | struct i40e_hw *hw = &pf->hw; | 5611 | struct i40e_hw *hw = &pf->hw; |
5613 | i40e_status ret; | 5612 | i40e_status ret; |
5614 | u8 filter_index; | 5613 | u8 filter_index; |
@@ -5626,7 +5625,6 @@ static void i40e_sync_vxlan_filters_subtask(struct i40e_pf *pf) | |||
5626 | port = pf->vxlan_ports[i]; | 5625 | port = pf->vxlan_ports[i]; |
5627 | ret = port ? | 5626 | ret = port ? |
5628 | i40e_aq_add_udp_tunnel(hw, ntohs(port), | 5627 | i40e_aq_add_udp_tunnel(hw, ntohs(port), |
5629 | vxlan_hdr_qwords, | ||
5630 | I40E_AQC_TUNNEL_TYPE_VXLAN, | 5628 | I40E_AQC_TUNNEL_TYPE_VXLAN, |
5631 | &filter_index, NULL) | 5629 | &filter_index, NULL) |
5632 | : i40e_aq_del_udp_tunnel(hw, i, NULL); | 5630 | : i40e_aq_del_udp_tunnel(hw, i, NULL); |
diff --git a/drivers/net/ethernet/intel/i40e/i40e_prototype.h b/drivers/net/ethernet/intel/i40e/i40e_prototype.h index 10652f615aec..d351832bf235 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_prototype.h +++ b/drivers/net/ethernet/intel/i40e/i40e_prototype.h | |||
@@ -157,8 +157,8 @@ i40e_status i40e_aq_stop_lldp(struct i40e_hw *hw, bool shutdown_agent, | |||
157 | i40e_status i40e_aq_start_lldp(struct i40e_hw *hw, | 157 | i40e_status i40e_aq_start_lldp(struct i40e_hw *hw, |
158 | struct i40e_asq_cmd_details *cmd_details); | 158 | struct i40e_asq_cmd_details *cmd_details); |
159 | i40e_status i40e_aq_add_udp_tunnel(struct i40e_hw *hw, | 159 | i40e_status i40e_aq_add_udp_tunnel(struct i40e_hw *hw, |
160 | u16 udp_port, u8 header_len, | 160 | u16 udp_port, u8 protocol_index, |
161 | u8 protocol_index, u8 *filter_index, | 161 | u8 *filter_index, |
162 | struct i40e_asq_cmd_details *cmd_details); | 162 | struct i40e_asq_cmd_details *cmd_details); |
163 | i40e_status i40e_aq_del_udp_tunnel(struct i40e_hw *hw, u8 index, | 163 | i40e_status i40e_aq_del_udp_tunnel(struct i40e_hw *hw, u8 index, |
164 | struct i40e_asq_cmd_details *cmd_details); | 164 | struct i40e_asq_cmd_details *cmd_details); |