powerpc: Remove unused function trace_syscall()
PATCH 1/1 powerpc: Remove unused function trace_syscall()
This function has been unused since commit 14cf11af6cf6 ("powerpc: Merge enough to start building in arch/powerpc."), so remove it.
Signed-off-by Rashmica Gupta <[email protected]>
--- arch/powerpc/kernel/traps.c | 7 ------- 1 file changed, 7 deletions(-)
arch/powerpc/kernel/traps.c +0 -7
@@ -1313,13 +1313,6 @@ void nonrecoverable_exception(struct pt_regs *regs)die ("nonrecoverable exception" , regs,SIGKILL ); } -void trace_syscall (struct pt_regs *regs) -{ -printk ("Task: %p(%d), PC: %08lX/%08lX, Syscall: %3ld, Result: %s%ld %s\n" , - current,task_pid_nr (current), regs->nip, regs->link, regs->gpr[0 ], - regs->ccr&0x10000000 ?"Error=" :"" , regs->gpr[3 ],print_tainted ()); -} -void kernel_fp_unavailable_exception (struct pt_regs *regs) {enum ctx_state prev_state =exception_enter ();
Signature · 1 line
2.5.0
Quoted 4 lines · Rashmica Gupta
This function has been unused since commit
14cf11af6cf6("powerpc: Merge enough to start building inarch/powerpc."), so remove it.Signed-off-by Rashmica Gupta <[email protected]>
Reviewed-by Andrew Donnellan <[email protected]>
Signature · 3 lines
Andrew Donnellan Software Engineer, OzLabs [email protected] Australia Development Lab, Canberra +61 2 6201 8874 (work) IBM Australia Limited
Anshuman Khandual
Reviewed-byQuoted 8 lines · Andrew Donnellan
Quoted 5 lines · Rashmica Gupta
This function has been unused since commit
14cf11af6cf6("powerpc:
Merge enough
to start building inarch/powerpc."), so remove it.Signed-off-by Rashmica Gupta <[email protected]>Reviewed-by Andrew Donnellan <[email protected]>
Reviewed-by Anshuman Khandual <[email protected]>
Quoted 6 lines · Rashmica Gupta
This function has been unused since commit
14cf11af6cf6("powerpc: Merge enough to start building inarch/powerpc."), so remove it.Signed-off-by Rashmica Gupta <[email protected]>Reviewed-by Andrew Donnellan <[email protected]>Reviewed-by Anshuman Khandual <[email protected]>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/cdfc8ed6904d7b0c0ca23d61
cheers