Commit 8fe91e61 authored by Ingo Molnar's avatar Ingo Molnar

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: default avatarIngo Molnar <mingo@elte.hu>
parent 0dff86aa
......@@ -164,7 +164,6 @@ struct perf_counter {
struct task_struct *task;
struct file *filp;
unsigned int nr_inherited;
struct perf_counter *parent;
/*
* Protect attach/detach:
......
......@@ -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:
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment