aboutsummaryrefslogtreecommitdiffstats
path: root/src/chmtx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chmtx.c')
-rw-r--r--src/chmtx.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/chmtx.c b/src/chmtx.c
index 68e8d671b..7ab8ae613 100644
--- a/src/chmtx.c
+++ b/src/chmtx.c
@@ -83,9 +83,8 @@ void chMtxLockS(Mutex *mp) {
continue;
#ifdef CH_USE_MESSAGES_PRIORITY
case PRSNDMSG:
- if (tp->p_flags & P_MSGBYPRIO)
- /* requeue tp with its new priority on (?) */
- prio_insert(dequeue(tp), &tp->p_wtthdp->p_msgqueue);
+ /* requeue tp with its new priority on (?) */
+ prio_insert(dequeue(tp), &tp->p_wtthdp->p_msgqueue);
break;
#endif
/* thread tp is ready? */