remove unused ring includes
[dpdk.git] / examples / performance-thread / common / lthread_int.h
index c8357f4..031d8af 100644 (file)
 #include <pthread.h>
 #include <time.h>
 
+#include <rte_memory.h>
 #include <rte_cycles.h>
 #include <rte_per_lcore.h>
 #include <rte_timer.h>
-#include <rte_ring.h>
 #include <rte_atomic_64.h>
 #include <rte_spinlock.h>
 #include <ctx.h>
@@ -197,16 +197,4 @@ struct lthread {
        uint64_t diag_ref;                      /* ref to user diag data */
 } __rte_cache_aligned;
 
-/*
- * Assert
- */
-#if LTHREAD_DIAG
-#define LTHREAD_ASSERT(expr) do {                                      \
-       if (!(expr))                                                    \
-               rte_panic("line%d\tassert \"" #expr "\" failed\n", __LINE__);\
-} while (0)
-#else
-#define LTHREAD_ASSERT(expr) do {} while (0)
-#endif
-
 #endif                         /* LTHREAD_INT_H */