net/i40e: add outer VLAN processing
[dpdk.git] / drivers / net / softnic / rte_eth_softnic_thread.c
index 4a9f2fa..ec8bef4 100644 (file)
@@ -29,11 +29,9 @@ softnic_thread_free(struct pmd_internals *softnic)
                struct softnic_thread *t = &softnic->thread[i];
 
                /* 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);
        }
 }