Skip to content

Commit

Permalink
Fix a bug due to left over mutex init error check
Browse files Browse the repository at this point in the history
  • Loading branch information
pakmarkthub committed May 13, 2024
1 parent 239c6eb commit d229925
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/gdrapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,6 @@ gdr_t gdr_open(void)
goto err_fd;
}

if (ret) {
gdr_err("Error in pthread_mutex_init with errno=%d\n", ret);
goto err_fd;
}

g->fd = fd;
LIST_INIT(&g->memhs);

Expand Down

0 comments on commit d229925

Please sign in to comment.