aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace_events.c')
-rw-r--r--kernel/trace/trace_events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_events.c b/kernel/trace/trace_events.c
index df394bc6d54..2eecb87e42d 100644
--- a/kernel/trace/trace_events.c
+++ b/kernel/trace/trace_events.c
@@ -118,7 +118,7 @@ static int __ftrace_set_clr_event(const char *match, const char *sub,
118 const char *event, int set) 118 const char *event, int set)
119{ 119{
120 struct ftrace_event_call *call; 120 struct ftrace_event_call *call;
121 int ret; 121 int ret = -EINVAL;
122 122
123 mutex_lock(&event_mutex); 123 mutex_lock(&event_mutex);
124 list_for_each_entry(call, &ftrace_events, list) { 124 list_for_each_entry(call, &ftrace_events, list) {