Skip to contentSkip to conversation

mailbox: mtk-cmdq: remove cl in struct cmdq_pkt

PATCH New Chun-Kuang Hu 1 participant 1 message Feb 9, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mailbox: mtk-cmdq: remove cl in struct cmdq_pkt

Every client driver has the struct cmdq_client information, so it's not necessary to store it in struct cmdq_pkt. cl is used to store struct cmdq_client information and now no client driver use it, so remove it.

---
 include/linux/mailbox/mtk-cmdq-mailbox.h | 1 -
 1 file changed, 1 deletion(-)
include/linux/mailbox/mtk-cmdq-mailbox.h +0 -1
index a8f0070c7aa9..4c1a91b07de3 100644
@@ -75,7 +75,6 @@ struct cmdq_pkt {
 	dma_addr_t		pa_base;
 	size_t			cmd_buf_size; /* command occupied size */
 	size_t			buf_size; /* real buffer size */
-	void			*cl;
 };
 
 u8 cmdq_get_shift_pa(struct mbox_chan *chan);
Signature · 1 line
2.34.1