tracing: Remove duplicate warnings when calling trace_create_file()
authorYuntao Wang <ytcoode@gmail.com>
Sun, 9 Jan 2022 16:22:32 +0000 (00:22 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 13 Jan 2022 22:02:42 +0000 (17:02 -0500)
commit6e1b4bd1911d814077d77e2ac6529d74ee68c0f6
treebc7123efa9a3878e6aa9c94a5a46f2d64dc28d2b
parentdfea08a2116fe327f79d8f4d4b2cf6e0c88be11f
tracing: Remove duplicate warnings when calling trace_create_file()

Since the same warning message is already printed in the
trace_create_file() function, there is no need to print it again.

Link: https://lkml.kernel.org/r/20220109162232.361747-1-ytcoode@gmail.com
Signed-off-by: Yuntao Wang <ytcoode@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_events.c