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

From: Greg KH
Date: Fri Nov 13 2020 - 10:27:39 EST


On Fri, Nov 13, 2020 at 11:21:18PM +0800, xiakaixu1987@xxxxxxxxx wrote:
> From: Kaixu Xia <kaixuxia@xxxxxxxxxxx>
>
> 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 <tencent_os_robot@xxxxxxxxxxx>
> Signed-off-by: Kaixu Xia <kaixuxia@xxxxxxxxxxx>
> ---
> kernel/trace/synth_event_gen_test.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

$ ./scripts/get_maintainer.pl kernel/trace/synth_event_gen_test.c
Steven Rostedt <rostedt@xxxxxxxxxxx> (maintainer:TRACING)
Ingo Molnar <mingo@xxxxxxxxxx> (maintainer:TRACING)
linux-kernel@xxxxxxxxxxxxxxx (open list)


You have an odd selection of people you copied on this patch, ensuring
thtat the correct people would not see it :(