net/txgbe: fix queue statistics mapping
[dpdk.git] / drivers / crypto / ipsec_mb / ipsec_mb_ops.c
index 1cf37e9..7e8396b 100644 (file)
@@ -284,8 +284,6 @@ ipsec_mb_qp_setup(struct rte_cryptodev *dev, uint16_t qp_id,
        return 0;
 
 qp_setup_cleanup:
-       if (qp == NULL)
-               return ret;
 #if IMB_VERSION(1, 1, 0) > IMB_VERSION_NUM
        if (qp->mb_mgr)
                free_mb_mgr(qp->mb_mgr);