]> Zhao Yanbai Git Server - minix.git/commitdiff
Removed a buggy assert unintentionally commted in r7044
authorTomas Hruby <tom@minix3.org>
Fri, 4 Jun 2010 10:54:43 +0000 (10:54 +0000)
committerTomas Hruby <tom@minix3.org>
Fri, 4 Jun 2010 10:54:43 +0000 (10:54 +0000)
kernel/system/do_setalarm.c

index d28007a814a5852384f428349337ba9eaf8c4ce8..313a735a2ad6af9218cf6031f4332d2ae3c66616 100644 (file)
@@ -50,7 +50,6 @@ PUBLIC int do_setalarm(struct proc * caller, message * m_ptr)
       reset_timer(tp);
   } else {
       tp->tmr_exp_time = (use_abs_time) ? exp_time : exp_time + get_uptime();
-      assert(tp->tmr_exp_time > get_uptime());
       set_timer(tp, tp->tmr_exp_time, tp->tmr_func);
   }
   return(OK);