mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04: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
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue