projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e472f8
)
engines/rdma: remove dead code
author
Pavel Reichl
<preichl@redhat.com>
Fri, 15 Dec 2023 17:43:16 +0000
(18:43 +0100)
committer
Pavel Reichl
<preichl@redhat.com>
Fri, 15 Dec 2023 17:44:24 +0000
(18:44 +0100)
The issues was found by Red Hat's OpenScanHub:
fio-3.35/engines/rdma.c:279:3: warning[deadcode.DeadStores]:
Value stored to 'ret' is never read
Signed-off-by: Pavel Reichl <preichl@redhat.com>
engines/rdma.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/rdma.c
b/engines/rdma.c
index ebdbcb1c808a524c5eff480ae70a8bc9109fcf40..07336f3b889f1dc6441bcd787f49b673e56a733a 100644
(file)
--- a/
engines/rdma.c
+++ b/
engines/rdma.c
@@
-276,7
+276,6
@@
static int cq_event_handler(struct thread_data *td, enum ibv_wc_opcode opcode)
int i;
while ((ret = ibv_poll_cq(rd->cq, 1, &wc)) == 1) {
- ret = 0;
compevnum++;
if (wc.status) {