From: Petri Gynther Date: Fri, 8 May 2015 22:10:00 +0000 (-0700) Subject: MIPS: traps: remove extra Tainted: line from __show_regs() output X-Git-Tag: v4.14-rc1~5386^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d2ec2f7c9560aa12417e5d8c26fe159cfdd3827;p=platform%2Fkernel%2Flinux-rpi.git MIPS: traps: remove extra Tainted: line from __show_regs() output __show_regs() calls show_regs_print_info(), which already outputs the Tainted: information. So, no need to output it twice. Signed-off-by: Petri Gynther Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9997/ Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index ba32e48..d2d1c19 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c @@ -269,7 +269,6 @@ static void __show_regs(const struct pt_regs *regs) */ printk("epc : %0*lx %pS\n", field, regs->cp0_epc, (void *) regs->cp0_epc); - printk(" %s\n", print_tainted()); printk("ra : %0*lx %pS\n", field, regs->regs[31], (void *) regs->regs[31]);