test: remove unnecessary cast of void pointer
[dpdk.git] / test / test / test_table_pipeline.c
index b58aa5d..a6fef72 100644 (file)
@@ -501,7 +501,7 @@ test_pipeline_single_filter(int test_type, int expected_count)
                else {
                        printf("Got %d object(s) from ring %d!\n", ret, i);
                        for (j = 0; j < ret; j++) {
-                               mbuf = (struct rte_mbuf *)objs[j];
+                               mbuf = objs[j];
                                rte_hexdump(stdout, "Object:",
                                        rte_pktmbuf_mtod(mbuf, char *),
                                        mbuf->data_len);