]> git.droids-corp.org - dpdk.git/blobdiff - examples/ip_pipeline/thread.c
gpu/cuda: map GPU memory with GDRCopy
[dpdk.git] / examples / ip_pipeline / thread.c
index b2e97327052f61478a9d358828bf7843de5dc67c..82d5f87c384c43b9672a5bb785ba0edf0a22b7bf 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);
        }
 }