]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mailbox: mtk-cmdq: remove cl in struct cmdq_pkt
authorChun-Kuang Hu <chunkuang.hu@kernel.org>
Sun, 9 Feb 2025 02:11:02 +0000 (02:11 +0000)
committerJassi Brar <jassisinghbrar@gmail.com>
Thu, 27 Mar 2025 01:58:24 +0000 (20:58 -0500)
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@kernel.org>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
include/linux/mailbox/mtk-cmdq-mailbox.h

index a8f0070c7aa98f64c8f2578c88ce7cbd6f7dc426..4c1a91b07de394585b3940b9ab5eeb128a140ba2 100644 (file)
@@ -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);