Skip to content

Commit 1ff3d3b

Browse files
committed
pml/ob1: fix coverity issue
Fix CID 1357978 (1 of 1): Logically dead code (DEADCODE): Remove duplicate check for NULL == endpoint. Signed-off-by: Nathan Hjelm <[email protected]>
1 parent 70533e6 commit 1ff3d3b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ompi/mca/pml/ob1/pml_ob1_isend.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,6 @@ int mca_pml_ob1_send(const void *buf,
211211
return OMPI_SUCCESS;
212212
}
213213

214-
if (OPAL_UNLIKELY(NULL == endpoint)) {
215-
return OMPI_ERR_UNREACH;
216-
}
217-
218214
seqn = (uint16_t) OPAL_THREAD_ADD32(&ob1_proc->send_sequence, 1);
219215

220216
/**

0 commit comments

Comments
 (0)