aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/sched_gsn_edf.c
diff options
context:
space:
mode:
Diffstat (limited to 'litmus/sched_gsn_edf.c')
-rw-r--r--litmus/sched_gsn_edf.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/litmus/sched_gsn_edf.c b/litmus/sched_gsn_edf.c
index f0337cfd8631..e9c5e531b1ae 100644
--- a/litmus/sched_gsn_edf.c
+++ b/litmus/sched_gsn_edf.c
@@ -210,11 +210,6 @@ static noinline void unlink(struct task_struct* t)
210{ 210{
211 cpu_entry_t *entry; 211 cpu_entry_t *entry;
212 212
213 if (unlikely(!t)) {
214 TRACE_BUG_ON(!t);
215 return;
216 }
217
218 if (t->rt_param.linked_on != NO_CPU) { 213 if (t->rt_param.linked_on != NO_CPU) {
219 /* unlink */ 214 /* unlink */
220 entry = &per_cpu(gsnedf_cpu_entries, t->rt_param.linked_on); 215 entry = &per_cpu(gsnedf_cpu_entries, t->rt_param.linked_on);