Module: xenomai-3
Branch: next
Commit: e9f6ceb770fabe4263d287ee0b86cd0151b2c915
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=e9f6ceb770fabe4263d287ee0b86cd0151b2c915

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Thu Feb 12 18:21:09 2015 +0100

cobalt: Remove unused __xn_success_return

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

---

 kernel/cobalt/arch/arm/include/asm/xenomai/syscall.h      |    5 -----
 kernel/cobalt/arch/blackfin/include/asm/xenomai/syscall.h |    5 -----
 kernel/cobalt/arch/nios2/include/asm/xenomai/syscall.h    |    5 -----
 kernel/cobalt/arch/powerpc/include/asm/xenomai/syscall.h  |    5 -----
 kernel/cobalt/arch/sh/include/asm/xenomai/syscall.h       |    5 -----
 kernel/cobalt/arch/x86/include/asm/xenomai/syscall.h      |    5 -----
 6 files changed, 30 deletions(-)

diff --git a/kernel/cobalt/arch/arm/include/asm/xenomai/syscall.h 
b/kernel/cobalt/arch/arm/include/asm/xenomai/syscall.h
index a8022d2..fec3c59 100644
--- a/kernel/cobalt/arch/arm/include/asm/xenomai/syscall.h
+++ b/kernel/cobalt/arch/arm/include/asm/xenomai/syscall.h
@@ -52,11 +52,6 @@
 #define __xn_reg_pc(__regs)    ((__regs)->ARM_ip)
 #define __xn_reg_sp(__regs)    ((__regs)->ARM_sp)
 
-static inline void __xn_success_return(struct pt_regs *regs, int v)
-{
-       __xn_reg_rval(regs) = v;
-}
-
 static inline void __xn_error_return(struct pt_regs *regs, int v)
 {
        __xn_reg_rval(regs) = v;
diff --git a/kernel/cobalt/arch/blackfin/include/asm/xenomai/syscall.h 
b/kernel/cobalt/arch/blackfin/include/asm/xenomai/syscall.h
index 61e0ba3..e0fc958 100644
--- a/kernel/cobalt/arch/blackfin/include/asm/xenomai/syscall.h
+++ b/kernel/cobalt/arch/blackfin/include/asm/xenomai/syscall.h
@@ -34,11 +34,6 @@
 #define __xn_reg_arg4(__regs)  ((__regs)->r3)
 #define __xn_reg_arg5(__regs)  ((__regs)->r4)
 
-static inline void __xn_success_return(struct pt_regs *regs, int v)
-{
-       __xn_reg_rval(regs) = v;
-}
-
 static inline void __xn_error_return(struct pt_regs *regs, int v)
 {
        __xn_reg_rval(regs) = v;
diff --git a/kernel/cobalt/arch/nios2/include/asm/xenomai/syscall.h 
b/kernel/cobalt/arch/nios2/include/asm/xenomai/syscall.h
index cef7b4b..e226ddc 100644
--- a/kernel/cobalt/arch/nios2/include/asm/xenomai/syscall.h
+++ b/kernel/cobalt/arch/nios2/include/asm/xenomai/syscall.h
@@ -37,11 +37,6 @@
 #define __xn_reg_pc(__regs)    ((__regs)->ea)
 #define __xn_reg_sp(__regs)    ((__regs)->sp)
 
-static inline void __xn_success_return(struct pt_regs *regs, int v)
-{
-       __xn_reg_rval(regs) = v;
-}
-
 static inline void __xn_error_return(struct pt_regs *regs, int v)
 {
        __xn_reg_rval(regs) = v;
diff --git a/kernel/cobalt/arch/powerpc/include/asm/xenomai/syscall.h 
b/kernel/cobalt/arch/powerpc/include/asm/xenomai/syscall.h
index b00cd12..5cfe49c 100644
--- a/kernel/cobalt/arch/powerpc/include/asm/xenomai/syscall.h
+++ b/kernel/cobalt/arch/powerpc/include/asm/xenomai/syscall.h
@@ -39,11 +39,6 @@
 #define __xn_reg_pc(__regs)    ((__regs)->nip)
 #define __xn_reg_sp(__regs)    ((__regs)->gpr[1])
 
-static inline void __xn_success_return(struct pt_regs *regs, int v)
-{
-       __xn_reg_rval(regs) = v;
-}
-
 static inline void __xn_error_return(struct pt_regs *regs, int v)
 {
        /*
diff --git a/kernel/cobalt/arch/sh/include/asm/xenomai/syscall.h 
b/kernel/cobalt/arch/sh/include/asm/xenomai/syscall.h
index 88c267f..74809e0 100644
--- a/kernel/cobalt/arch/sh/include/asm/xenomai/syscall.h
+++ b/kernel/cobalt/arch/sh/include/asm/xenomai/syscall.h
@@ -34,11 +34,6 @@
 #define __xn_reg_arg4(__regs)   ((__regs)->regs[7])
 #define __xn_reg_arg5(__regs)   ((__regs)->regs[0])
 
-static inline void __xn_success_return(struct pt_regs *regs, int v)
-{
-       __xn_reg_rval(regs) = v;
-}
-
 static inline void __xn_error_return(struct pt_regs *regs, int v)
 {
        __xn_reg_rval(regs) = v;
diff --git a/kernel/cobalt/arch/x86/include/asm/xenomai/syscall.h 
b/kernel/cobalt/arch/x86/include/asm/xenomai/syscall.h
index 5901e4d..b9eea7a 100644
--- a/kernel/cobalt/arch/x86/include/asm/xenomai/syscall.h
+++ b/kernel/cobalt/arch/x86/include/asm/xenomai/syscall.h
@@ -49,11 +49,6 @@
 #define __xn_syscall(regs)    (__xn_reg_sys(regs) & ~__COBALT_SYSCALL_BIT)
 #endif
 
-static inline void __xn_success_return(struct pt_regs *regs, int v)
-{
-       __xn_reg_rval(regs) = v;
-}
-
 static inline void __xn_error_return(struct pt_regs *regs, int v)
 {
        __xn_reg_rval(regs) = v;


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

Reply via email to