mirror of
https://github.com/torvalds/linux
synced 2024-09-06 18:01:05 +00:00
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.com Signed-off-by: Wang ShaoBo <bobo.shaobowang@huawei.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
This commit is contained in:
parent
e7bb66f79a
commit
7568a21e52
|
@ -2261,8 +2261,6 @@ create_new_subsystem(const char *name)
|
|||
if (!system->name)
|
||||
goto out_free;
|
||||
|
||||
system->filter = NULL;
|
||||
|
||||
system->filter = kzalloc(sizeof(struct event_filter), GFP_KERNEL);
|
||||
if (!system->filter)
|
||||
goto out_free;
|
||||
|
|
Loading…
Reference in a new issue