summaryrefslogtreecommitdiff
path: root/ace/Timer_Wheel_T.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Timer_Wheel_T.cpp')
-rw-r--r--ace/Timer_Wheel_T.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/ace/Timer_Wheel_T.cpp b/ace/Timer_Wheel_T.cpp
index fdbe32c705c..c1620d633ff 100644
--- a/ace/Timer_Wheel_T.cpp
+++ b/ace/Timer_Wheel_T.cpp
@@ -283,13 +283,9 @@ ACE_Timer_Wheel_T<TYPE, FUNCTOR, ACE_LOCK>::earliest_time (void) const
{
ACE_TRACE ("ACE_Timer_Wheel_T::earliest_time");
- if (this->is_empty ())
- return ACE_Time_Value::zero;
- else
- return this->wheel_[this->earliest_pos_]->get_next ()->get_timer_value ();
+ return this->wheel_[this->earliest_pos_]->get_next ()->get_timer_value ();
}
-
/**
* Creates a ACE_Timer_Node_T based on the input parameters. Then inserts
* the node into the wheel using reschedule (). Then returns a timer_id