aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--litmus/gpu_affinity.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/litmus/gpu_affinity.c b/litmus/gpu_affinity.c
index cf94d8449e3b..9e421ce9efc2 100644
--- a/litmus/gpu_affinity.c
+++ b/litmus/gpu_affinity.c
@@ -143,7 +143,6 @@ void update_gpu_estimate(struct task_struct *t, lt_t observed)
143 mig_info.distance = tsk_rt(t)->gpu_migration; 143 mig_info.distance = tsk_rt(t)->gpu_migration;
144 sched_trace_migration(t, &mig_info); 144 sched_trace_migration(t, &mig_info);
145 145
146
147 est->history[est->idx] = observed; 146 est->history[est->idx] = observed;
148 est->sum += observed; 147 est->sum += observed;
149 est->avg = est->sum/est->count; 148 est->avg = est->sum/est->count;