validation: Fix formatting

This commit is contained in:
Sebastian Huber
2023-07-21 09:30:44 +02:00
parent 610b54d83a
commit 3a754a3de2
3 changed files with 12 additions and 4 deletions

View File

@@ -498,7 +498,9 @@ static void RtemsSemReqFlush_Action( RtemsSemReqFlush_Context *ctx )
static void RtemsSemReqFlush_Cleanup( RtemsSemReqFlush_Context *ctx )
{
rtems_status_code sc;
sc = rtems_semaphore_delete( ctx->tq_ctx.thread_queue_id ); T_rsc_success( sc );
sc = rtems_semaphore_delete( ctx->tq_ctx.thread_queue_id );
T_rsc_success( sc );
}
static const RtemsSemReqFlush_Entry

View File

@@ -361,8 +361,12 @@ static void RtemsSemReqTimeout_Action( RtemsSemReqTimeout_Context *ctx )
static void RtemsSemReqTimeout_Cleanup( RtemsSemReqTimeout_Context *ctx )
{
if ( ctx->tq_ctx.thread_queue_id != 0 ) { rtems_status_code sc;
sc = rtems_semaphore_delete( ctx->tq_ctx.thread_queue_id ); T_rsc_success( sc ); }
if ( ctx->tq_ctx.thread_queue_id != 0 ) {
rtems_status_code sc;
sc = rtems_semaphore_delete( ctx->tq_ctx.thread_queue_id );
T_rsc_success( sc );
}
}
static const RtemsSemReqTimeout_Entry

View File

@@ -454,7 +454,9 @@ static void ScoreTqReqEnqueueCeiling_Prepare(
ScoreTqReqEnqueueCeiling_Context *ctx
)
{
ctx->priority = PRIO_PSEUDO_ISR; ctx->other_before = false; ctx->other_after = false;
ctx->priority = PRIO_PSEUDO_ISR;
ctx->other_before = false;
ctx->other_after = false;
}
static void ScoreTqReqEnqueueCeiling_Action(