# HG changeset patch
# User etisserant
# Date 1212569621 -7200
# Node ID 787a54d068d6653b94e7b07488bfdb9c73a551c4
# Parent  40efa79d27ddbedf717a9c46b857d47c11f1cd42
Fixed minor typos in timers_rtai.c and timers_xeno.c

diff -r 40efa79d27dd -r 787a54d068d6 drivers/timers_rtai/timers_rtai.c
--- a/drivers/timers_rtai/timers_rtai.c	Mon Jun 02 08:52:06 2008 +0200
+++ b/drivers/timers_rtai/timers_rtai.c	Wed Jun 04 10:53:41 2008 +0200
@@ -217,7 +217,7 @@
 void setTimer(TIMEVAL value)
 {
 	rt_sem_wait(condition_mutex);
-	last_timeout_set = (value == TIMEVAL_MAX) ? TIMEVAL_MAX : value;
+	last_timeout_set = value;
 	rt_sem_signal(condition_mutex);
 	rt_cond_signal(timer_set);
 }
diff -r 40efa79d27dd -r 787a54d068d6 drivers/timers_xeno/timers_xeno.c
--- a/drivers/timers_xeno/timers_xeno.c	Mon Jun 02 08:52:06 2008 +0200
+++ b/drivers/timers_xeno/timers_xeno.c	Wed Jun 04 10:53:41 2008 +0200
@@ -238,7 +238,7 @@
 void setTimer(TIMEVAL value)
 {
 	rt_mutex_acquire(&condition_mutex, TM_INFINITE);
-	last_timeout_set = (value == TIMEVAL_MAX) ? TIMEVAL_MAX : value;
+	last_timeout_set = value;
 	rt_mutex_release(&condition_mutex);
 	rt_cond_signal(&timer_set);
 }