Module: xenomai-forge
Branch: master
Commit: 70e3f8e402c89e81ff30fb23d87f41a1ef855507
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=70e3f8e402c89e81ff30fb23d87f41a1ef855507

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Jun  1 10:16:34 2012 +0200

blackfin: fix unused variable warning

---

 kernel/cobalt/arch/blackfin/hal.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/kernel/cobalt/arch/blackfin/hal.c 
b/kernel/cobalt/arch/blackfin/hal.c
index 57b4ae1..8112b86 100644
--- a/kernel/cobalt/arch/blackfin/hal.c
+++ b/kernel/cobalt/arch/blackfin/hal.c
@@ -112,9 +112,10 @@ int rthal_timer_request(void (*tick_handler)(void),
                        int cpu)
 {
        unsigned long dummy, *tmfreq = &dummy;
-       int tickval, ret, res;
-
+       int tickval, res;
 #ifndef CONFIG_IPIPE_CORE
+       int ret;
+
        res = ipipe_request_tickdev("bfin_core_timer", mode_emul, tick_emul, 
cpu,
                                    tmfreq);
 #else /* I-pipe timers */


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to