From: Tomas Hruby Date: Fri, 4 Jun 2010 10:54:43 +0000 (+0000) Subject: Removed a buggy assert unintentionally commted in r7044 X-Git-Tag: v3.1.8~504 X-Git-Url: http://zhaoyanbai.com/repos/%22/xml/v3/zones/static/man.host.html?a=commitdiff_plain;h=f28acecb7884b2208811af433b4f28de34f43d70;p=minix.git Removed a buggy assert unintentionally commted in r7044 --- diff --git a/kernel/system/do_setalarm.c b/kernel/system/do_setalarm.c index d28007a81..313a735a2 100644 --- a/kernel/system/do_setalarm.c +++ b/kernel/system/do_setalarm.c @@ -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);