This patch removed the non-essential check for NULL pointer.
Coverity issue: 357770
Fixes:
c13cecf60f12 ("compress/qat: support IM buffer too small operation")
Signed-off-by: Adam Dybkowski <adamx.dybkowski@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
resp_msg = (uint8_t *)rx_queue->base_addr + head;
resp_msg = (uint8_t *)rx_queue->base_addr + head;
- if (ops != NULL && nb_fw_responses) {
/* only move on to next op if one was ready to return
* to API
*/
/* only move on to next op if one was ready to return
* to API
*/