diff options
Diffstat (limited to 'kernel/trace')
-rw-r--r-- | kernel/trace/ftrace.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index ff8aecdc6dd6..7968762c8167 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c | |||
@@ -2552,10 +2552,9 @@ ftrace_set_func(unsigned long *array, int *idx, char *buffer) | |||
2552 | exists = true; | 2552 | exists = true; |
2553 | break; | 2553 | break; |
2554 | } | 2554 | } |
2555 | if (!exists) { | 2555 | if (!exists) |
2556 | array[(*idx)++] = rec->ip; | 2556 | array[(*idx)++] = rec->ip; |
2557 | found = 1; | 2557 | found = 1; |
2558 | } | ||
2559 | } | 2558 | } |
2560 | } while_for_each_ftrace_rec(); | 2559 | } while_for_each_ftrace_rec(); |
2561 | 2560 | ||