tracing: Remove the useless value assignment in test_create_synth_event()
authorKaixu Xia <kaixuxia@tencent.com>
Fri, 13 Nov 2020 16:02:40 +0000 (00:02 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 13 Nov 2020 17:19:52 +0000 (12:19 -0500)
commitb111545d26c0d66dd9aae668d9373669e752b075
treecdfc44cb1c8f71168ffc746d7f45dd0855b53455
parent2860cd8a235375df3c8ec8039d9fe5eb2f658b86
tracing: Remove the useless value assignment in test_create_synth_event()

The value of variable ret is overwritten on the delete branch in the
test_create_synth_event() and we care more about the above error than
this delete portion. Remove it.

Link: https://lkml.kernel.org/r/1605283360-6804-1-git-send-email-kaixuxia@tencent.com
Reported-by: Tosk Robot <tencent_os_robot@tencent.com>
Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/synth_event_gen_test.c