]> Git Repo - linux.git/commit
tracing: Remove the useless value assignment in test_create_synth_event()
authorKaixu Xia <[email protected]>
Fri, 13 Nov 2020 16:02:40 +0000 (00:02 +0800)
committerSteven Rostedt (VMware) <[email protected]>
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/[email protected]
Reported-by: Tosk Robot <[email protected]>
Signed-off-by: Kaixu Xia <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
kernel/trace/synth_event_gen_test.c
This page took 0.051203 seconds and 4 git commands to generate.