diff options
Diffstat (limited to 'kernel/perf_counter.c')
-rw-r--r-- | kernel/perf_counter.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/perf_counter.c b/kernel/perf_counter.c index 2e73929a6959..48e1dbcdc1cd 100644 --- a/kernel/perf_counter.c +++ b/kernel/perf_counter.c | |||
@@ -1308,7 +1308,6 @@ inherit_counter(struct perf_counter *parent_counter, | |||
1308 | child_ctx->nr_counters++; | 1308 | child_ctx->nr_counters++; |
1309 | 1309 | ||
1310 | child_counter->parent = parent_counter; | 1310 | child_counter->parent = parent_counter; |
1311 | parent_counter->nr_inherited++; | ||
1312 | /* | 1311 | /* |
1313 | * inherit into child's child as well: | 1312 | * inherit into child's child as well: |
1314 | */ | 1313 | */ |