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
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
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
3 matches
Mail list logo