Skip to content

Commit 4df8c1b

Browse files
author
Sergey Oblomov
committed
OSHMEM/free: suppressed coverity issue
- removed dead code Signed-off-by: Sergey Oblomov <sergeyo@mellanox.com>
1 parent 02bf863 commit 4df8c1b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

oshmem/shmem/c/shmem_free.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ static inline void _shfree(void* ptr)
5959

6060
if (ptr) {
6161
s = memheap_find_va(ptr);
62-
} else {
63-
s = NULL;
6462
}
6563

6664
if (s && s->allocator) {

0 commit comments

Comments
 (0)