common/qat: remove redundant check
authorAdam Dybkowski <adamx.dybkowski@intel.com>
Wed, 6 May 2020 21:31:07 +0000 (23:31 +0200)
committerAkhil Goyal <akhil.goyal@nxp.com>
Mon, 11 May 2020 11:17:43 +0000 (13:17 +0200)
commitb5d704b92a8316f76f464efa5770efee6afa1ca4
treee914492ce87a8c5b0a5c9b7ffdbc0cba59f86c88
parent7277e63f5955fa30898cb6cd739f5e72b8c89ace
common/qat: remove redundant check

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>
drivers/common/qat/qat_qp.c