Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

i40e: Remove unused function declarations

Commit f62b5060d670 ("i40e: fix mac address checking") left behind
i40e_validate_mac_addr() declaration.
Also the other declarations are declared but never implemented in
commit 56a62fc86895 ("i40e: init code and hardware support").

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20230804125525.20244-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Yue Haibing and committed by
Jakub Kicinski
2359fd0b ac0955f0

-17
-17
drivers/net/ethernet/intel/i40e/i40e_prototype.h
··· 18 18 /* adminq functions */ 19 19 int i40e_init_adminq(struct i40e_hw *hw); 20 20 void i40e_shutdown_adminq(struct i40e_hw *hw); 21 - void i40e_adminq_init_ring_data(struct i40e_hw *hw); 22 21 int i40e_clean_arq_element(struct i40e_hw *hw, 23 22 struct i40e_arq_event_info *e, 24 23 u16 *events_pending); ··· 50 51 void i40e_debug_aq(struct i40e_hw *hw, enum i40e_debug_mask mask, 51 52 void *desc, void *buffer, u16 buf_len); 52 53 53 - void i40e_idle_aq(struct i40e_hw *hw); 54 54 bool i40e_check_asq_alive(struct i40e_hw *hw); 55 55 int i40e_aq_queue_shutdown(struct i40e_hw *hw, bool unloading); 56 56 const char *i40e_aq_str(struct i40e_hw *hw, enum i40e_admin_queue_err aq_err); ··· 115 117 int i40e_aq_get_link_info(struct i40e_hw *hw, 116 118 bool enable_lse, struct i40e_link_status *link, 117 119 struct i40e_asq_cmd_details *cmd_details); 118 - int i40e_aq_set_local_advt_reg(struct i40e_hw *hw, 119 - u64 advt_reg, 120 - struct i40e_asq_cmd_details *cmd_details); 121 120 int i40e_aq_send_driver_version(struct i40e_hw *hw, 122 121 struct i40e_driver_version *dv, 123 122 struct i40e_asq_cmd_details *cmd_details); ··· 264 269 struct i40e_asq_cmd_details *cmd_details); 265 270 int i40e_aq_dcb_updated(struct i40e_hw *hw, 266 271 struct i40e_asq_cmd_details *cmd_details); 267 - int i40e_aq_config_switch_comp_bw_limit(struct i40e_hw *hw, 268 - u16 seid, u16 credit, u8 max_bw, 269 - struct i40e_asq_cmd_details *cmd_details); 270 272 int i40e_aq_config_vsi_tc_bw(struct i40e_hw *hw, u16 seid, 271 273 struct i40e_aqc_configure_vsi_tc_bw_data *bw_data, 272 274 struct i40e_asq_cmd_details *cmd_details); ··· 342 350 int i40e_get_port_mac_addr(struct i40e_hw *hw, u8 *mac_addr); 343 351 int i40e_read_pba_string(struct i40e_hw *hw, u8 *pba_num, 344 352 u32 pba_num_size); 345 - int i40e_validate_mac_addr(u8 *mac_addr); 346 353 void i40e_pre_tx_queue_cfg(struct i40e_hw *hw, u32 queue, bool enable); 347 354 /* prototype for functions used for NVM access */ 348 355 int i40e_init_nvm(struct i40e_hw *hw); ··· 416 425 /* prototype for functions used for SW locks */ 417 426 418 427 /* i40e_common for VF drivers*/ 419 - void i40e_vf_parse_hw_config(struct i40e_hw *hw, 420 - struct virtchnl_vf_resource *msg); 421 - int i40e_vf_reset(struct i40e_hw *hw); 422 - int i40e_aq_send_msg_to_pf(struct i40e_hw *hw, 423 - enum virtchnl_ops v_opcode, 424 - int v_retval, 425 - u8 *msg, u16 msglen, 426 - struct i40e_asq_cmd_details *cmd_details); 427 428 int i40e_set_filter_control(struct i40e_hw *hw, 428 429 struct i40e_filter_control_settings *settings); 429 430 int i40e_aq_add_rem_control_packet_filter(struct i40e_hw *hw,