crypto/octeontx2: move capabilities init into probe
[dpdk.git] / drivers / crypto / aesni_gcm / aesni_gcm_pmd_ops.c
index c5e0878..18dbc4c 100644 (file)
@@ -248,13 +248,6 @@ qp_setup_cleanup:
        return -1;
 }
 
-/** Return the number of allocated queue pairs */
-static uint32_t
-aesni_gcm_pmd_qp_count(struct rte_cryptodev *dev)
-{
-       return dev->data->nb_queue_pairs;
-}
-
 /** Returns the size of the aesni gcm session structure */
 static unsigned
 aesni_gcm_pmd_sym_session_get_size(struct rte_cryptodev *dev __rte_unused)
@@ -329,7 +322,6 @@ struct rte_cryptodev_ops aesni_gcm_pmd_ops = {
 
                .queue_pair_setup       = aesni_gcm_pmd_qp_setup,
                .queue_pair_release     = aesni_gcm_pmd_qp_release,
-               .queue_pair_count       = aesni_gcm_pmd_qp_count,
 
                .sym_cpu_process        = aesni_gcm_pmd_cpu_crypto_process,