Miscellaneous fixes from astyle tool.

This commit is contained in:
Arjun Hary
2017-08-14 17:19:27 -06:00
committed by Gregory Nutt
parent 777169385c
commit b274a97840
63 changed files with 422 additions and 418 deletions
+4 -4
View File
@@ -311,10 +311,10 @@ try_again:
/* Normal tasking environment. */
/* Do we already have interrupts disabled? */
rtcb = this_task();
DEBUGASSERT(rtcb != NULL);
rtcb = this_task();
DEBUGASSERT(rtcb != NULL);
if (rtcb->irqcount > 0)
if (rtcb->irqcount > 0)
{
/* Yes... make sure that the spinlock is set and increment the
* IRQ lock count.
@@ -496,7 +496,7 @@ void leave_critical_section(irqstate_t flags)
}
else
{
#ifdef CONFIG_SCHED_INSTRUMENTATION_CSECTION
#ifdef CONFIG_SCHED_INSTRUMENTATION_CSECTION
/* No.. Note that we have left the critical section */
sched_note_csection(rtcb, false);