fix:delete redundant local variable
Change-Id: Ia3a01d91866a96f8b47c66a4af0042254e24f69f
This commit is contained in:
parent
58023d89c5
commit
fcf7db5022
|
@ -157,7 +157,6 @@ int sem_timedwait(sem_t *sem, const struct timespec *timeout)
|
|||
{
|
||||
UINT32 ret;
|
||||
long long tickCnt;
|
||||
struct timespec tsNow = { 0 };
|
||||
|
||||
if ((sem == NULL) || (sem->s_magic != _SEM_MAGIC)) {
|
||||
errno = EINVAL;
|
||||
|
|
Loading…
Reference in New Issue