remove unused ring includes
[dpdk.git] / app / test-pmd / testpmd.c
index b7f28e9..30749a4 100644 (file)
@@ -63,7 +63,6 @@
 #include <rte_lcore.h>
 #include <rte_atomic.h>
 #include <rte_branch_prediction.h>
-#include <rte_ring.h>
 #include <rte_mempool.h>
 #include <rte_malloc.h>
 #include <rte_mbuf.h>
@@ -907,7 +906,6 @@ flush_fwd_rx_queues(void)
                                        timer_tsc += diff_tsc;
                                } while ((nb_rx > 0) &&
                                        (timer_tsc < timer_period));
-                               prev_tsc = cur_tsc;
                                timer_tsc = 0;
                        }
                }