From: Dmitry Safonov <dima@xxxxxxxxxx> Subject: sh: remove needless printk() Currently `data' is always an empty line "". No need for additional printk() call. Link: http://lkml.kernel.org/r/20200418201944.482088-31-dima@xxxxxxxxxx Signed-off-by: Dmitry Safonov <dima@xxxxxxxxxx> Cc: Rich Felker <dalias@xxxxxxxx> Cc: Yoshinori Sato <ysato@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/sh/kernel/dumpstack.c | 1 - 1 file changed, 1 deletion(-) --- a/arch/sh/kernel/dumpstack.c~sh-remove-needless-printk +++ a/arch/sh/kernel/dumpstack.c @@ -118,7 +118,6 @@ static int print_trace_stack(void *data, */ static void print_trace_address(void *data, unsigned long addr, int reliable) { - printk("%s", (char *)data); printk_address(addr, reliable); } _