summaryrefslogtreecommitdiff
path: root/nuttx/sched/sched_free.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/sched_free.c')
-rw-r--r--nuttx/sched/sched_free.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/nuttx/sched/sched_free.c b/nuttx/sched/sched_free.c
index e7c8bf56b..4df77b109 100644
--- a/nuttx/sched/sched_free.c
+++ b/nuttx/sched/sched_free.c
@@ -84,10 +84,9 @@
void sched_free(FAR void *address)
{
- /* Check if this is an attempt to deallocate memory from
- * an exception handler. If this function is called from the
- * IDLE task, then we must have exclusive access to the memory
- * manager to do this.
+ /* Check if this is an attempt to deallocate memory from an exception
+ * handler. If this function is called from the IDLE task, then we
+ * must have exclusive access to the memory manager to do this.
*/
if (up_interrupt_context() || kmm_trysemaphore() != 0)