remove extra parentheses in return statement
[dpdk.git] / examples / performance-thread / common / lthread_sched.c
index 3fad768..301cf94 100644 (file)
@@ -462,10 +462,10 @@ _sched_timer_cb(struct rte_timer *tim, void *arg)
  */
 static inline int _lthread_sched_isdone(struct lthread_sched *sched)
 {
-       return ((sched->run_flag == 0) &&
+       return (sched->run_flag == 0) &&
                        (_lthread_queue_empty(sched->ready)) &&
                        (_lthread_queue_empty(sched->pready)) &&
-                       (sched->nb_blocked_threads == 0));
+                       (sched->nb_blocked_threads == 0);
 }
 
 /*