diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-06-08 18:57:55 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-06-08 18:57:55 -0400 |
commit | 12e4158927c733d15917e3406cdf1c20885b30f9 (patch) | |
tree | 348a7912753013525dbc14121b8f6a765a6e2a8d /litmus/jobs.c | |
parent | af6201aaea499dacbed52c1436ad3393cd9948fc (diff) |
Clean up 'time_slice' and 'completed' usage
The 'time_slice' parameter has not been relevant in a couple of years.
The 'completed' flag was misused in a few places. This clean-up patch
removes these outdated remnants.
Diffstat (limited to 'litmus/jobs.c')
-rw-r--r-- | litmus/jobs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/litmus/jobs.c b/litmus/jobs.c index 32685012503b..89a0810415fa 100644 --- a/litmus/jobs.c +++ b/litmus/jobs.c | |||
@@ -15,9 +15,6 @@ static inline void setup_release(struct task_struct *t, lt_t release) | |||
15 | 15 | ||
16 | /* update job sequence number */ | 16 | /* update job sequence number */ |
17 | t->rt_param.job_params.job_no++; | 17 | t->rt_param.job_params.job_no++; |
18 | |||
19 | /* don't confuse Linux */ | ||
20 | t->rt.time_slice = 1; | ||
21 | } | 18 | } |
22 | 19 | ||
23 | void prepare_for_next_period(struct task_struct *t) | 20 | void prepare_for_next_period(struct task_struct *t) |