[PATCH] mailbox: mtk-cmdq: remove cl in struct cmdq_pkt

From: Chun-Kuang Hu
Date: Sat Feb 08 2025 - 21:11:27 EST


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.

Signed-off-by: Chun-Kuang Hu <chunkuang.hu@xxxxxxxxxx>
---
include/linux/mailbox/mtk-cmdq-mailbox.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/mailbox/mtk-cmdq-mailbox.h b/include/linux/mailbox/mtk-cmdq-mailbox.h
index a8f0070c7aa9..4c1a91b07de3 100644
--- a/include/linux/mailbox/mtk-cmdq-mailbox.h
+++ b/include/linux/mailbox/mtk-cmdq-mailbox.h
@@ -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);
--
2.34.1