Skip to content

Commit c5e970e

Browse files
author
Nelson Escobar
committed
enic: remove unused function cq_enet_wq_desc_dec
JIRA: https://issues.redhat.com/browse/RHEL-84863 commit 6dca618 Author: Satish Kharat <satishkh@cisco.com> Date: Tue Mar 4 19:56:41 2025 -0500 enic: remove unused function cq_enet_wq_desc_dec 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> Signed-off-by: Nelson Escobar <nescobar@redhat.com>
1 parent 27ba743 commit c5e970e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

drivers/net/ethernet/cisco/enic/cq_enet_desc.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@ struct cq_enet_wq_desc {
1717
u8 type_color;
1818
};
1919

20-
static inline void cq_enet_wq_desc_dec(struct cq_enet_wq_desc *desc,
21-
u8 *type, u8 *color, u16 *q_number, u16 *completed_index)
22-
{
23-
cq_desc_dec((struct cq_desc *)desc, type,
24-
color, q_number, completed_index);
25-
}
26-
2720
/*
2821
* Defines and Capabilities for CMD_CQ_ENTRY_SIZE_SET
2922
*/

0 commit comments

Comments
 (0)