Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

tracing: Remove redundant call to event_trigger_reset_filter() in event_hist_trigger_parse()

With the change to replace kfree() with trigger_data_free(), which starts
out doing the exact same thing as event_trigger_reset_filter(), there's no
reason to call event_trigger_reset_filter() before calling
trigger_data_free(). Remove the call to it.

Link: https://lore.kernel.org/linux-trace-kernel/20251211204520.0f3ba6d1@fedora/

Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Miaoqian Lin <linmq006@gmail.com>
Link: https://patch.msgid.link/20260108174429.2d9ca51f@gandalf.local.home
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>

-2
-2
kernel/trace/trace_events_hist.c
··· 6907 6907 out_unreg: 6908 6908 event_trigger_unregister(cmd_ops, file, glob+1, trigger_data); 6909 6909 out_free: 6910 - event_trigger_reset_filter(cmd_ops, trigger_data); 6911 - 6912 6910 remove_hist_vars(hist_data); 6913 6911 6914 6912 trigger_data_free(trigger_data);