summaryrefslogtreecommitdiff
path: root/ACE
diff options
context:
space:
mode:
authorChad Elliott <elliottc@objectcomputing.com>2022-09-09 07:27:27 -0500
committerChad Elliott <elliottc@objectcomputing.com>2022-09-09 07:27:27 -0500
commit7de198658db10447a86ce14e457b5881140e95ce (patch)
tree7e3436c86cd4aaac71f777743f685f0e80091113 /ACE
parente21a89220b0b1571e09f02e66feea5c5dc734cd7 (diff)
downloadATCD-7de198658db10447a86ce14e457b5881140e95ce.tar.gz
Removed unnecessary check of ret inside the while condition.
Diffstat (limited to 'ACE')
-rw-r--r--ACE/ace/OS_NS_Thread.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ACE/ace/OS_NS_Thread.cpp b/ACE/ace/OS_NS_Thread.cpp
index d7bca985e1a..6c866aeea8f 100644
--- a/ACE/ace/OS_NS_Thread.cpp
+++ b/ACE/ace/OS_NS_Thread.cpp
@@ -5141,8 +5141,7 @@ vx_execae (FUNCPTR entry, char* arg, int prio, int opt, size_t stacksz, ...)
if (ret == ACE_VX_TASK_ID_ERROR)
return 255;
- while( ret > reinterpret_cast <ACE_VX_TASK_ID> (0) &&
- ::taskIdVerify (ret) != ERROR )
+ while( ::taskIdVerify (ret) != ERROR )
::taskDelay (3 * ::sysClkRateGet ());
// ::taskSpawn () returns TASK_ID_ERROR on failure: return _vx_call_rc instead if