git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7277e63
)
common/qat: remove redundant check
author
Adam Dybkowski
<adamx.dybkowski@intel.com>
Wed, 6 May 2020 21:31:07 +0000
(23:31 +0200)
committer
Akhil Goyal
<akhil.goyal@nxp.com>
Mon, 11 May 2020 11:17:43 +0000
(13:17 +0200)
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
patch
|
blob
|
history
diff --git
a/drivers/common/qat/qat_qp.c
b/drivers/common/qat/qat_qp.c
index
9d7091a
..
8e6dd04
100644
(file)
--- 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
*/