X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcommon%2Fqat%2Fqat_qp.c;h=8e6dd04eb73f61010d092bd5f7e0bb57f207e522;hb=e9703a54e41141ebcfd57db1d67d09ce61e58d29;hp=9d7091af34bee2447a2373a82044c161a9c7be0c;hpb=7277e63f5955fa30898cb6cd739f5e72b8c89ace;p=dpdk.git diff --git a/drivers/common/qat/qat_qp.c b/drivers/common/qat/qat_qp.c index 9d7091af34..8e6dd04eb7 100644 --- a/drivers/common/qat/qat_qp.c +++ b/drivers/common/qat/qat_qp.c @@ -860,7 +860,7 @@ qat_dequeue_op_burst(void *qp, void **ops, uint16_t nb_ops) resp_msg = (uint8_t *)rx_queue->base_addr + head; - if (ops != NULL && nb_fw_responses) { + if (nb_fw_responses) { /* only move on to next op if one was ready to return * to API */