diff mbox

powerpc: Remove unused function trace_syscall()

Message ID 1447903588-610-1-git-send-email-rashmicy@gmail.com (mailing list archive)
State Accepted
Headers show

Commit Message

Rashmica Gupta Nov. 19, 2015, 3:26 a.m. UTC
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>
---
 arch/powerpc/kernel/traps.c | 7 -------
 1 file changed, 7 deletions(-)

Comments

Andrew Donnellan Nov. 19, 2015, 3:34 a.m. UTC | #1
On 19/11/15 14:26, Rashmica Gupta wrote:
> 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>
Anshuman Khandual Nov. 23, 2015, 5:49 a.m. UTC | #2
On 11/19/2015 09:04 AM, Andrew Donnellan wrote:
> On 19/11/15 14:26, Rashmica Gupta wrote:
>> 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>
Michael Ellerman Nov. 26, 2015, 12:15 p.m. UTC | #3
On Thu, 2015-19-11 at 03:26:28 UTC, Rashmica Gupta wrote:
> 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>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/cdfc8ed6904d7b0c0ca23d61

cheers
diff mbox

Patch

diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c
index 37de90f8a845..b6becc795bb5 100644
--- a/arch/powerpc/kernel/traps.c
+++ b/arch/powerpc/kernel/traps.c
@@ -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();