diff --git a/kal/posix/src/pthread_cond.c b/kal/posix/src/pthread_cond.c index 356bc679..d6c02f38 100644 --- a/kal/posix/src/pthread_cond.c +++ b/kal/posix/src/pthread_cond.c @@ -245,7 +245,6 @@ int pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, PRINT_ERR("%s: %d failed\n", __FUNCTION__, __LINE__); } - (VOID)LOS_EventClear(&(cond->event), 0); ret = (INT32)LOS_EventRead(&(cond->event), 0x0f, LOS_WAITMODE_OR | LOS_WAITMODE_CLR, (UINT32)absTicks); if (pthread_mutex_lock(mutex) != 0) {