Skip to content
Snippets Groups Projects
Commit 8b92f348 authored by Dmitry Safonov's avatar Dmitry Safonov Committed by Linus Torvalds
Browse files

sh: remove needless printk()


Currently `data' is always an empty line "".  No need for additional
printk() call.

Signed-off-by: default avatarDmitry Safonov <dima@arista.com>
Signed-off-by: default avatarAndrew 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: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ebf0a36a
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment