remove unnecessary null checks
[dpdk.git] / drivers / crypto / octeontx / otx_cryptodev_hw_access.c
index 7b89a62..2760445 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <rte_branch_prediction.h>
 #include <rte_common.h>
-#include <rte_cryptodev.h>
+#include <cryptodev_pmd.h>
 #include <rte_errno.h>
 #include <rte_mempool.h>
 #include <rte_memzone.h>
@@ -296,7 +296,7 @@ cpt_vq_init(struct cpt_vf *cptvf, uint8_t group)
        /* CPT VF device initialization */
        otx_cpt_vfvq_init(cptvf);
 
-       /* Send msg to PF to assign currnet Q to required group */
+       /* Send msg to PF to assign current Q to required group */
        cptvf->vfgrp = group;
        err = otx_cpt_send_vf_grp_msg(cptvf, group);
        if (err) {