]> git.droids-corp.org - dpdk.git/blobdiff - examples/performance-thread/common/lthread_queue.h
remove extra parentheses in return statement
[dpdk.git] / examples / performance-thread / common / lthread_queue.h
index 71f8c734c93d248a4f057572342b15524150c885..0c395167f5d4b8e4f9119704d45ab6ed7d8f1e25 100644 (file)
@@ -153,7 +153,7 @@ _lthread_queue_create(const char *name)
 static inline int __attribute__ ((always_inline))
 _lthread_queue_empty(struct lthread_queue *q)
 {
-       return (q->tail == q->head);
+       return q->tail == q->head;
 }