i40e: Remove unused i40e_asq_send_command_v2
i40e_asq_send_command_v2() was added in 2022 by
commit 74073848b0 ("i40e: Add new versions of send ASQ command
functions")
but hasn't been used.
Remove it.
(The _atomic_v2 version of the function is used, so leave it).
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Link: https://patch.msgid.link/20250102173717.200359-9-linux@treblig.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
a324484ac8
commit
d424b93f35
@@ -1016,16 +1016,6 @@ i40e_asq_send_command_atomic_v2(struct i40e_hw *hw,
|
||||
return status;
|
||||
}
|
||||
|
||||
int
|
||||
i40e_asq_send_command_v2(struct i40e_hw *hw, struct i40e_aq_desc *desc,
|
||||
void *buff, /* can be NULL */ u16 buff_size,
|
||||
struct i40e_asq_cmd_details *cmd_details,
|
||||
enum i40e_admin_queue_err *aq_status)
|
||||
{
|
||||
return i40e_asq_send_command_atomic_v2(hw, desc, buff, buff_size,
|
||||
cmd_details, true, aq_status);
|
||||
}
|
||||
|
||||
/**
|
||||
* i40e_fill_default_direct_cmd_desc - AQ descriptor helper function
|
||||
* @desc: pointer to the temp descriptor (non DMA mem)
|
||||
|
||||
@@ -27,13 +27,6 @@ i40e_asq_send_command(struct i40e_hw *hw, struct i40e_aq_desc *desc,
|
||||
void *buff, /* can be NULL */ u16 buff_size,
|
||||
struct i40e_asq_cmd_details *cmd_details);
|
||||
int
|
||||
i40e_asq_send_command_v2(struct i40e_hw *hw,
|
||||
struct i40e_aq_desc *desc,
|
||||
void *buff, /* can be NULL */
|
||||
u16 buff_size,
|
||||
struct i40e_asq_cmd_details *cmd_details,
|
||||
enum i40e_admin_queue_err *aq_status);
|
||||
int
|
||||
i40e_asq_send_command_atomic(struct i40e_hw *hw, struct i40e_aq_desc *desc,
|
||||
void *buff, /* can be NULL */ u16 buff_size,
|
||||
struct i40e_asq_cmd_details *cmd_details,
|
||||
|
||||
Reference in New Issue
Block a user