[LITMUS^RT] [PATCH 2/5] litmus: fix warning about unused label in sched_pfp.c
Manohar Vanga
mvanga at mpi-sws.org
Thu Oct 4 12:31:05 CEST 2012
This patch fixes a warning about an unused label in sched_pfp.c
when CONFIG_LITMUS_LOCKING is not set.
Signed-off-by: Manohar Vanga <mvanga at mpi-sws.org>
---
litmus/sched_pfp.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/litmus/sched_pfp.c b/litmus/sched_pfp.c
index b1d5b43..b16406e 100644
--- a/litmus/sched_pfp.c
+++ b/litmus/sched_pfp.c
@@ -348,7 +348,9 @@ static void pfp_task_wake_up(struct task_struct *task)
pfp_preempt_check(pfp);
}
+#ifdef CONFIG_LITMUS_LOCKING
out_unlock:
+#endif
raw_spin_unlock_irqrestore(&pfp->slock, flags);
TRACE_TASK(task, "wake up done\n");
}
--
1.7.2.5
More information about the litmus-dev
mailing list