Skip to content

Commit b56ea5b

Browse files
committed
fabtests/efa/multi_ep_stress: remove the unused assignment
Fix CID 501144 that ret will be overwritten by other assignment before it can be used. Remove the ret = 0 to fix this issue Signed-off-by: Shi Jin <sjina@amazon.com>
1 parent 449aed9 commit b56ea5b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fabtests/prov/efa/src/multi_ep_stress.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,6 @@ static int notify_endpoint_update(struct receiver_context *ctx)
824824
if (topts.verbose)
825825
printf("Receiver %d: Sender %d disconnected\n",
826826
ctx->worker_id, i);
827-
ret = 0;
828827
break;
829828
} else {
830829
// Real error

0 commit comments

Comments
 (0)