Commit 7568a21e authored by Wang ShaoBo's avatar Wang ShaoBo Committed by Steven Rostedt (Google)

tracing: Remove unnecessary NULL assignment

Remove unnecessary NULL assignment int create_new_subsystem().

Link: https://lkml.kernel.org/r/20221123065124.3982439-1-bobo.shaobowang@huawei.comSigned-off-by: default avatarWang ShaoBo <bobo.shaobowang@huawei.com>
Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
parent e7bb66f7
...@@ -2261,8 +2261,6 @@ create_new_subsystem(const char *name) ...@@ -2261,8 +2261,6 @@ create_new_subsystem(const char *name)
if (!system->name) if (!system->name)
goto out_free; goto out_free;
system->filter = NULL;
system->filter = kzalloc(sizeof(struct event_filter), GFP_KERNEL); system->filter = kzalloc(sizeof(struct event_filter), GFP_KERNEL);
if (!system->filter) if (!system->filter)
goto out_free; goto out_free;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment