powerpc: Drop unused syscall_get_error()
[deliverable/linux.git] / arch / powerpc / include / asm / syscall.h
index ff21b7a2f0cc581686a758bd38adf0bac0fdf24b..c6239dabcfb1d81b0755cb37f0e4b2edf5782b10 100644 (file)
@@ -34,12 +34,6 @@ static inline void syscall_rollback(struct task_struct *task,
        regs->gpr[3] = regs->orig_gpr3;
 }
 
-static inline long syscall_get_error(struct task_struct *task,
-                                    struct pt_regs *regs)
-{
-       return (regs->ccr & 0x10000000) ? -regs->gpr[3] : 0;
-}
-
 static inline long syscall_get_return_value(struct task_struct *task,
                                            struct pt_regs *regs)
 {
This page took 0.026664 seconds and 5 git commands to generate.