Module: xenomai-gch
Branch: stable-3.0.x
Commit: ee0b43329fc93198f7cd620fbd84ade15aa57319
URL:    
http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=ee0b43329fc93198f7cd620fbd84ade15aa57319

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Thu Nov 26 20:14:14 2015 +0100

cobalt/arm: remove unused variable

Avoids compiler warning

---

 kernel/cobalt/arch/arm/thread.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/kernel/cobalt/arch/arm/thread.c b/kernel/cobalt/arch/arm/thread.c
index 46b830d..7e2b7cf 100644
--- a/kernel/cobalt/arch/arm/thread.c
+++ b/kernel/cobalt/arch/arm/thread.c
@@ -270,8 +270,6 @@ void xnarch_switch_fpu(struct xnthread *from, struct 
xnthread *to)
 int xnarch_handle_fpu_fault(struct xnthread *from, 
                        struct xnthread *to, struct ipipe_trap_data *d)
 {
-       spl_t s;
-
        if (xnthread_test_state(to, XNFPU))
                /* FPU is already enabled, probably an exception */
                return 0;


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

Reply via email to