net/hns3: fix copyright date
[dpdk.git] / drivers / crypto / armv8 / rte_armv8_pmd_ops.c
index a4fee83..01ccfb4 100644 (file)
@@ -8,9 +8,7 @@
 #include <rte_malloc.h>
 #include <rte_cryptodev_pmd.h>
 
-#include "armv8_crypto_defs.h"
-
-#include "rte_armv8_pmd_private.h"
+#include "armv8_pmd_private.h"
 
 static const struct rte_cryptodev_capabilities
        armv8_crypto_pmd_capabilities[] = {
@@ -259,13 +257,6 @@ qp_setup_cleanup:
        return -1;
 }
 
-/** Return the number of allocated queue pairs */
-static uint32_t
-armv8_crypto_pmd_qp_count(struct rte_cryptodev *dev)
-{
-       return dev->data->nb_queue_pairs;
-}
-
 /** Returns the size of the session structure */
 static unsigned
 armv8_crypto_pmd_sym_session_get_size(struct rte_cryptodev *dev __rte_unused)
@@ -339,7 +330,6 @@ struct rte_cryptodev_ops armv8_crypto_pmd_ops = {
 
                .queue_pair_setup       = armv8_crypto_pmd_qp_setup,
                .queue_pair_release     = armv8_crypto_pmd_qp_release,
-               .queue_pair_count       = armv8_crypto_pmd_qp_count,
 
                .sym_session_get_size   = armv8_crypto_pmd_sym_session_get_size,
                .sym_session_configure  = armv8_crypto_pmd_sym_session_configure,