]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
sh: remove needless printk()
authorDmitry Safonov <dima@arista.com>
Tue, 9 Jun 2020 04:31:27 +0000 (21:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Jun 2020 16:39:12 +0000 (09:39 -0700)
Currently `data' is always an empty line "".  No need for additional
printk() call.

Signed-off-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Rich Felker <dalias@libc.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Link: http://lkml.kernel.org/r/20200418201944.482088-31-dima@arista.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/sh/kernel/dumpstack.c

index 6784b914fba010981cf289d1d8305af7b9be6d77..2c1a78e5776b810125696aa52e44485ece3876f0 100644 (file)
@@ -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);
 }