2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 02:34:01 +08:00

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:
Ingo Molnar 2008-12-23 12:29:25 +01:00
parent 0dff86aa7b
commit 8fe91e61cd
2 changed files with 0 additions and 2 deletions

View File

@ -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:

View File

@ -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:
*/