Skip to content

Commit

Permalink
enic: remove unused function cq_enet_wq_desc_dec
Browse files Browse the repository at this point in the history
Removes cq_enet_wq_desc_dec, not needed anymore.

Co-developed-by: Nelson Escobar <neescoba@cisco.com>
Signed-off-by: Nelson Escobar <neescoba@cisco.com>
Co-developed-by: John Daley <johndale@cisco.com>
Signed-off-by: John Daley <johndale@cisco.com>
Signed-off-by: Satish Kharat <satishkh@cisco.com>
Link: https://patch.msgid.link/20250304-enic_cleanup_and_ext_cq-v2-5-85804263dad8@cisco.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
  • Loading branch information
Satish Kharat authored and Paolo Abeni committed Mar 11, 2025
1 parent bcb725c commit 6dca618
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/net/ethernet/cisco/enic/cq_enet_desc.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ struct cq_enet_wq_desc {
u8 type_color;
};

static inline void cq_enet_wq_desc_dec(struct cq_enet_wq_desc *desc,
u8 *type, u8 *color, u16 *q_number, u16 *completed_index)
{
cq_desc_dec((struct cq_desc *)desc, type,
color, q_number, completed_index);
}

/*
* Defines and Capabilities for CMD_CQ_ENTRY_SIZE_SET
*/
Expand Down

0 comments on commit 6dca618

Please sign in to comment.