From 176bcb28d845f74be5782fc676d0dd1adf0c12bb Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Sat, 9 Mar 2019 17:45:25 -0800 Subject: svm mq: add unit test Change-Id: I2f1fa15a99163b9c105707484503dc9502265c52 Signed-off-by: Florin Coras --- src/svm/message_queue.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/svm') diff --git a/src/svm/message_queue.h b/src/svm/message_queue.h index 28bf14e545e..c57b51acc7a 100644 --- a/src/svm/message_queue.h +++ b/src/svm/message_queue.h @@ -314,9 +314,6 @@ svm_msg_q_lock (svm_msg_q_t * mq) static inline void svm_msg_q_unlock (svm_msg_q_t * mq) { - /* The other side of the connection is not polling */ - if (mq->q->cursize < (mq->q->maxsize / 8)) - (void) pthread_cond_broadcast (&mq->q->condvar); pthread_mutex_unlock (&mq->q->mutex); } -- cgit 1.2.3-korg