diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-12-23 12:29:25 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-23 12:45:22 +0100 |
commit | 8fe91e61cdc407c7556d3cd71cf20141a25bbcea (patch) | |
tree | 140962c33ec40dc15b12b2b0ebd11d7fe884903a /kernel/perf_counter.c | |
parent | 0dff86aa7b9ec65a6d07167b7afb050b5fc98ddc (diff) | |
download | kernel-crypto-8fe91e61cdc407c7556d3cd71cf20141a25bbcea.tar.gz kernel-crypto-8fe91e61cdc407c7556d3cd71cf20141a25bbcea.tar.xz kernel-crypto-8fe91e61cdc407c7556d3cd71cf20141a25bbcea.zip |
perfcounters: remove ->nr_inherited
Impact: remove dead code
nr_inherited was not maintained correctly (not decremented) - and also
not used - remove it.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
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 2e73929a695..48e1dbcdc1c 100644 --- a/kernel/perf_counter.c +++ b/kernel/perf_counter.c @@ -1308,7 +1308,6 @@ inherit_counter(struct perf_counter *parent_counter, child_ctx->nr_counters++; child_counter->parent = parent_counter; - parent_counter->nr_inherited++; /* * inherit into child's child as well: */ |