From 907c8fcd4a656a089bd7934756beca9a4256f146 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 14 Jul 2012 19:30:31 +0000 Subject: Fix STM32 F2/F4 SDIO clocking; Clean-up files in sched/ directory git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4940 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/sched/sched_removereadytorun.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'nuttx/sched/sched_removereadytorun.c') diff --git a/nuttx/sched/sched_removereadytorun.c b/nuttx/sched/sched_removereadytorun.c index 82c24402cd..4982808e2b 100644 --- a/nuttx/sched/sched_removereadytorun.c +++ b/nuttx/sched/sched_removereadytorun.c @@ -83,9 +83,8 @@ * g_readytorun list) has changed. * * Assumptions: - * - The caller has established a critical section before - * calling this function (calling sched_lock() first is NOT - * a good idea -- use irqsave()). + * - The caller has established a critical section before calling this + * function (calling sched_lock() first is NOT a good idea -- use irqsave()). * - The caller handles the condition that occurs if the * the head of the g_readytorun list is changed. * @@ -95,9 +94,8 @@ bool sched_removereadytorun(FAR _TCB *rtcb) { bool ret = false; - /* Check if the TCB to be removed is at the head of the ready - * to run list. In this case, we are removing the currently - * active task. + /* Check if the TCB to be removed is at the head of the ready to run list. + * In this case, we are removing the currently active task. */ if (!rtcb->blink) -- cgit v1.2.3