From: Dmitry Safonov Date: Tue, 9 Jun 2020 04:31:27 +0000 (-0700) Subject: sh: remove needless printk() X-Git-Tag: v5.15~3641^2~63 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b92f34877225c8eb85e3ab7f1177fc248ba26d0;p=platform%2Fkernel%2Flinux-starfive.git sh: remove needless printk() Currently `data' is always an empty line "". No need for additional printk() call. Signed-off-by: Dmitry Safonov Signed-off-by: Andrew Morton Cc: Rich Felker Cc: Yoshinori Sato Link: http://lkml.kernel.org/r/20200418201944.482088-31-dima@arista.com Signed-off-by: Linus Torvalds --- diff --git a/arch/sh/kernel/dumpstack.c b/arch/sh/kernel/dumpstack.c index 6784b914fba0..2c1a78e5776b 100644 --- a/arch/sh/kernel/dumpstack.c +++ b/arch/sh/kernel/dumpstack.c @@ -118,7 +118,6 @@ static int print_trace_stack(void *data, char *name) */ static void print_trace_address(void *data, unsigned long addr, int reliable) { - printk("%s", (char *)data); printk_address(addr, reliable); }