diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/trace/trace_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_output.c b/kernel/trace/trace_output.c index 5fc51f0f75fc..8bd9a2c1a46a 100644 --- a/kernel/trace/trace_output.c +++ b/kernel/trace/trace_output.c | |||
@@ -541,7 +541,7 @@ int register_ftrace_event(struct trace_event *event) | |||
541 | INIT_LIST_HEAD(&event->list); | 541 | INIT_LIST_HEAD(&event->list); |
542 | 542 | ||
543 | if (!event->type) { | 543 | if (!event->type) { |
544 | struct list_head *list; | 544 | struct list_head *list = NULL; |
545 | 545 | ||
546 | if (next_event_type > FTRACE_MAX_EVENT) { | 546 | if (next_event_type > FTRACE_MAX_EVENT) { |
547 | 547 | ||