This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 3bd508daed5ae01481f34935e0218b7f59f82ceb
Author: Marco Casaroli <[email protected]>
AuthorDate: Mon Nov 2 13:54:48 2026 +0100

    sched/sched: Fix the nxstyle errors in sched_setpriority.c.
    
    A blank line after a declaration and the indentation of a closing brace.
    Both errors are older than the next change.  Whitespace only.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 sched/sched/sched_setpriority.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sched/sched/sched_setpriority.c b/sched/sched/sched_setpriority.c
index 8d903fc294b..c507656204a 100644
--- a/sched/sched/sched_setpriority.c
+++ b/sched/sched/sched_setpriority.c
@@ -127,6 +127,7 @@ static inline void nxsched_running_setpriority(FAR struct 
tcb_s *tcb,
           do
             {
               bool check = nxsched_remove_readytorun(nxttcb);
+
               DEBUGASSERT(check == false);
               UNUSED(check);
 
@@ -330,7 +331,7 @@ int nxsched_set_priority(FAR struct tcb_s *tcb, int 
sched_priority)
         }
 
       leave_critical_section(flags);
-   }
+    }
 
   return ret;
 }

Reply via email to