drivers/net/slip.c: Fix another compilation error

This commit is contained in:
Gregory Nutt
2015-08-02 07:20:36 -06:00
parent 3a109315ed
commit 15db2a45a4
4 changed files with 13 additions and 8 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ int sem_tickwait(FAR sem_t *sem, uint32_t start, uint32_t delay)
/* Adjust the delay for any time since the delay was calculated */
elapsed = clock_systimer() - start;
if (elapsed >= (UINT32_MAX / 2) || elapsed >= delay)
if (/*elapsed >= (UINT32_MAX / 2) || */ elapsed >= delay)
{
ret = -ETIMEDOUT;
goto errout_with_irqdisabled;