crypto: hisilicon/qm - delete a dbg function
authorChenghai Huang <huangchenghai2@huawei.com>
Sat, 9 Dec 2023 07:01:34 +0000 (15:01 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Dec 2023 09:52:53 +0000 (17:52 +0800)
Deleted a dbg function because this function has the risk of
address leakage. In addition, this function is only used for
debugging in the early stage and is not required in the future.

Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c

index d05ad2b16d0a7cc7c8d67c8ca9d37042e65414f0..4b20b94e6371ad05476603d07f808cbd13fb6202 100644 (file)
@@ -597,9 +597,6 @@ int hisi_qm_mb(struct hisi_qm *qm, u8 cmd, dma_addr_t dma_addr, u16 queue,
        struct qm_mailbox mailbox;
        int ret;
 
-       dev_dbg(&qm->pdev->dev, "QM mailbox request to q%u: %u-%llx\n",
-               queue, cmd, (unsigned long long)dma_addr);
-
        qm_mb_pre_init(&mailbox, cmd, dma_addr, queue, op);
 
        mutex_lock(&qm->mailbox_lock);