gpu/cuda: map GPU memory with GDRCopy
[dpdk.git] / examples / ip_pipeline / thread.c
index b2e9732..82d5f87 100644 (file)
@@ -92,11 +92,9 @@ thread_free(void)
                        continue;
 
                /* MSGQs */
-               if (t->msgq_req)
-                       rte_ring_free(t->msgq_req);
+               rte_ring_free(t->msgq_req);
 
-               if (t->msgq_rsp)
-                       rte_ring_free(t->msgq_rsp);
+               rte_ring_free(t->msgq_rsp);
        }
 }