[PATCH v2] tracing: remove the useless value assignment in test_create_synth_event

2020-11-13 Thread xiakaixu1987
From: Kaixu Xia 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. Reported-by: Tosk Robot Signed-off-by: Kaixu Xia --- v2: -remove the useless assignment in the delete port

Re: [PATCH v2] tracing: remove the useless value assignment in test_create_synth_event

2020-11-13 Thread Greg KH
On Fri, Nov 13, 2020 at 11:21:18PM +0800, xiakaixu1...@gmail.com wrote: > From: Kaixu Xia > > 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. > > Reported-by: Tosk Robot

[PATCH v2] tracing: remove the useless value assignment in test_create_synth_event

2020-11-13 Thread xiakaixu1987
From: Kaixu Xia 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. Reported-by: Tosk Robot Signed-off-by: Kaixu Xia --- kernel/trace/synth_event_gen_test.c | 2 +- 1 file ch