]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
crypto: cavium - remove unused fucntions
authorYueHaibing <yuehaibing@huawei.com>
Tue, 19 Mar 2019 13:37:00 +0000 (21:37 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 28 Mar 2019 05:55:33 +0000 (13:55 +0800)
cptvf_mbox_send_ack and cptvf_mbox_send_nack are never
used since introdution in commit c694b233295b ("crypto: cavium
- Add the Virtual Function driver for CPT")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/cavium/cpt/cptvf_mbox.c

index d5ec3b8a9e615f49c94c498b92cc62ad41370866..4f438eceb5066d64563da04789b2f81279fd4255 100644 (file)
@@ -17,23 +17,6 @@ static void cptvf_send_msg_to_pf(struct cpt_vf *cptvf, struct cpt_mbox *mbx)
                        mbx->data);
 }
 
-/* ACKs PF's mailbox message
- */
-void cptvf_mbox_send_ack(struct cpt_vf *cptvf, struct cpt_mbox *mbx)
-{
-       mbx->msg = CPT_MBOX_MSG_TYPE_ACK;
-       cptvf_send_msg_to_pf(cptvf, mbx);
-}
-
-/* NACKs PF's mailbox message that VF is not able to
- * complete the action
- */
-void cptvf_mbox_send_nack(struct cpt_vf *cptvf, struct cpt_mbox *mbx)
-{
-       mbx->msg = CPT_MBOX_MSG_TYPE_NACK;
-       cptvf_send_msg_to_pf(cptvf, mbx);
-}
-
 /* Interrupt handler to handle mailbox messages from VFs */
 void cptvf_handle_mbox_intr(struct cpt_vf *cptvf)
 {