diff --git a/arch/arm/src/common/up_reprioritizertr.c b/arch/arm/src/common/up_reprioritizertr.c index 2fb7eb631f5..41aa0d5e2da 100644 --- a/arch/arm/src/common/up_reprioritizertr.c +++ b/arch/arm/src/common/up_reprioritizertr.c @@ -109,9 +109,6 @@ void up_reprioritize_rtr(_TCB *tcb, ubyte priority) /* Setup up the new task priority */ tcb->sched_priority = (ubyte)priority; -#ifdef CONFIG_PRIORITY_INHERITANCE - tcb->base_priority = (ubyte)priority; -#endif /* Return the task to the specified blocked task list. * sched_addreadytorun will return TRUE if the task was diff --git a/arch/pjrc-8051/src/up_reprioritizertr.c b/arch/pjrc-8051/src/up_reprioritizertr.c index eef37c16fab..7e9ddd9fd8f 100644 --- a/arch/pjrc-8051/src/up_reprioritizertr.c +++ b/arch/pjrc-8051/src/up_reprioritizertr.c @@ -109,9 +109,6 @@ void up_reprioritize_rtr(FAR _TCB *tcb, ubyte priority) /* Setup up the new task priority */ tcb->sched_priority = (ubyte)priority; -#ifdef CONFIG_PRIORITY_INHERITANCE - tcb->base_priority = (ubyte)priority; -#endif /* Return the task to the specified blocked task list. * sched_addreadytorun will return TRUE if the task was diff --git a/arch/sh/src/common/up_reprioritizertr.c b/arch/sh/src/common/up_reprioritizertr.c index 230dbfff764..be465fd0a7a 100644 --- a/arch/sh/src/common/up_reprioritizertr.c +++ b/arch/sh/src/common/up_reprioritizertr.c @@ -109,9 +109,6 @@ void up_reprioritize_rtr(_TCB *tcb, ubyte priority) /* Setup up the new task priority */ tcb->sched_priority = (ubyte)priority; -#ifdef CONFIG_PRIORITY_INHERITANCE - tcb->base_priority = (ubyte)priority; -#endif /* Return the task to the specified blocked task list. * sched_addreadytorun will return TRUE if the task was diff --git a/arch/sim/src/up_reprioritizertr.c b/arch/sim/src/up_reprioritizertr.c index 307369bf396..8d6f436e60d 100644 --- a/arch/sim/src/up_reprioritizertr.c +++ b/arch/sim/src/up_reprioritizertr.c @@ -109,9 +109,6 @@ void up_reprioritize_rtr(_TCB *tcb, ubyte priority) /* Setup up the new task priority */ tcb->sched_priority = (ubyte)priority; -#ifdef CONFIG_PRIORITY_INHERITANCE - tcb->base_priority = (ubyte)priority; -#endif /* Return the task to the specified blocked task list. * sched_addreadytorun will return TRUE if the task was diff --git a/arch/z16/src/common/up_reprioritizertr.c b/arch/z16/src/common/up_reprioritizertr.c index f94d30ad0a7..f8fff390bb4 100644 --- a/arch/z16/src/common/up_reprioritizertr.c +++ b/arch/z16/src/common/up_reprioritizertr.c @@ -113,9 +113,6 @@ void up_reprioritize_rtr(FAR _TCB *tcb, ubyte priority) /* Setup up the new task priority */ tcb->sched_priority = (ubyte)priority; -#ifdef CONFIG_PRIORITY_INHERITANCE - tcb->base_priority = (ubyte)priority; -#endif /* Return the task to the specified blocked task list. * sched_addreadytorun will return TRUE if the task was diff --git a/arch/z80/src/common/up_reprioritizertr.c b/arch/z80/src/common/up_reprioritizertr.c index 0b71e510f48..31fab37ded4 100644 --- a/arch/z80/src/common/up_reprioritizertr.c +++ b/arch/z80/src/common/up_reprioritizertr.c @@ -114,9 +114,6 @@ void up_reprioritize_rtr(FAR _TCB *tcb, ubyte priority) /* Setup up the new task priority */ tcb->sched_priority = (ubyte)priority; -#ifdef CONFIG_PRIORITY_INHERITANCE - tcb->base_priority = (ubyte)priority; -#endif /* Return the task to the specified blocked task list. * sched_addreadytorun will return TRUE if the task was