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>
This commit is contained in:
@@ -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:
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user