diff options
author | Dmitry Safonov <dima@arista.com> | 2020-06-09 06:31:27 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-06-09 18:39:12 +0200 |
commit | 8b92f34877225c8eb85e3ab7f1177fc248ba26d0 (patch) | |
tree | 753b94902b364ebe6c36bf2bb3441414f117a39e /arch/sh | |
parent | sh: add loglvl to dump_mem() (diff) | |
download | linux-8b92f34877225c8eb85e3ab7f1177fc248ba26d0.tar.xz linux-8b92f34877225c8eb85e3ab7f1177fc248ba26d0.zip |
sh: remove needless printk()
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>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/kernel/dumpstack.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); } |