diff --git a/base_c/src/thread.c b/base_c/src/thread.c index 1388075..784276f 100644 --- a/base_c/src/thread.c +++ b/base_c/src/thread.c @@ -279,7 +279,6 @@ int embb_thread_join(embb_thread_t* thread, int *result_code) { return EMBB_ERROR; } int status = 0; - if (thread == NULL) return EMBB_ERROR; status = pthread_join(thread->embb_internal_handle, NULL); if (thread->embb_internal_arg != NULL) { if (result_code != NULL) {