powerpc: Remove unused function trace_syscall()
authorRashmica Gupta <rashmicy@gmail.com>
Thu, 19 Nov 2015 03:26:28 +0000 (14:26 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 26 Nov 2015 11:11:16 +0000 (22:11 +1100)
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 <rashmicy@gmail.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Reviewed-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/traps.c

index 37de90f8a845c9ef8f1410100a0d7d3b05b93195..b6becc795bb559399d1a9d300e2251600a8c5aba 100644 (file)
@@ -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();