aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Safonov <[email protected]>2020-06-08 21:31:27 -0700
committerLinus Torvalds <[email protected]>2020-06-09 09:39:12 -0700
commit8b92f34877225c8eb85e3ab7f1177fc248ba26d0 (patch)
tree753b94902b364ebe6c36bf2bb3441414f117a39e
parentebf0a36a32b25fe6ba8a1b6bd3135432ebd9aa5c (diff)
sh: remove needless printk()
Currently `data' is always an empty line "". No need for additional printk() call. Signed-off-by: Dmitry Safonov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Cc: Rich Felker <[email protected]> Cc: Yoshinori Sato <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--arch/sh/kernel/dumpstack.c1
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);
}