Skip to content

Commit 7568a21

Browse files
Wang ShaoBorostedt
authored andcommitted
tracing: Remove unnecessary NULL assignment
Remove unnecessary NULL assignment int create_new_subsystem(). Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Wang ShaoBo <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
1 parent e7bb66f commit 7568a21

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

kernel/trace/trace_events.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2261,8 +2261,6 @@ create_new_subsystem(const char *name)
22612261
if (!system->name)
22622262
goto out_free;
22632263

2264-
system->filter = NULL;
2265-
22662264
system->filter = kzalloc(sizeof(struct event_filter), GFP_KERNEL);
22672265
if (!system->filter)
22682266
goto out_free;

0 commit comments

Comments
 (0)