diff --git a/[refs] b/[refs] index fff8d4c86374..c492fd6302d4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 313254a9400d388b46150c0f355e216418a2f598 +refs/heads/master: 91baf6285be7282cfa487de92f836c50749dffb9 diff --git a/trunk/kernel/trace/ftrace.c b/trunk/kernel/trace/ftrace.c index ff8aecdc6dd6..7968762c8167 100644 --- a/trunk/kernel/trace/ftrace.c +++ b/trunk/kernel/trace/ftrace.c @@ -2552,10 +2552,9 @@ ftrace_set_func(unsigned long *array, int *idx, char *buffer) exists = true; break; } - if (!exists) { + if (!exists) array[(*idx)++] = rec->ip; - found = 1; - } + found = 1; } } while_for_each_ftrace_rec();