You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/01/26 13:15:31 UTC
[nuttx] 01/02: Revert "sched/sched_releasetcb: Fix code style issue from prior patch"
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 29eaf95ced261ddb9bd55b06fbf76c4726dd9494
Author: Ville Juven <vi...@unikie.com>
AuthorDate: Thu Jan 19 09:44:20 2023 +0200
Revert "sched/sched_releasetcb: Fix code style issue from prior patch"
This reverts commit 920956b20ff6f18ef16bb2593d868c4a75b63035.
---
sched/sched/sched_releasetcb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sched/sched/sched_releasetcb.c b/sched/sched/sched_releasetcb.c
index 826b4df2f6..4ea3a98cd3 100644
--- a/sched/sched/sched_releasetcb.c
+++ b/sched/sched/sched_releasetcb.c
@@ -126,7 +126,7 @@ int nxsched_release_tcb(FAR struct tcb_s *tcb, uint8_t ttype)
if (tcb->stack_alloc_ptr)
{
-#ifdef CONFIG_BUILD_KERNEL
+ #ifdef CONFIG_BUILD_KERNEL
/* If the exiting thread is not a kernel thread, then it has an
* address environment. Don't bother to release the stack memory
* in this case... There is no point since the memory lies in the
@@ -138,7 +138,7 @@ int nxsched_release_tcb(FAR struct tcb_s *tcb, uint8_t ttype)
*/
if (ttype == TCB_FLAG_TTYPE_KERNEL)
-#endif
+ #endif
{
up_release_stack(tcb, ttype);
}