summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatish Kharat <satishkh@cisco.com>2025-03-04 19:56:41 -0500
committerPaolo Abeni <pabeni@redhat.com>2025-03-11 10:21:27 +0100
commit6dca618c94676ed87ff29a8cb95431f4f2c189ee (patch)
treece918902d00b0de4da1102b05dd70939f8850434
parentbcb725c79cfa770aa1356eb2f26ffcfbae67fb13 (diff)
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>
-rw-r--r--drivers/net/ethernet/cisco/enic/cq_enet_desc.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/ethernet/cisco/enic/cq_enet_desc.h b/drivers/net/ethernet/cisco/enic/cq_enet_desc.h
index 809a3f30b87f..50787cff29db 100644
--- a/drivers/net/ethernet/cisco/enic/cq_enet_desc.h
+++ b/drivers/net/ethernet/cisco/enic/cq_enet_desc.h
@@ -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
*/