X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fperformance-thread%2Fcommon%2Flthread_int.h;h=031d8afc486f13ff2eb3e55383bdfe01f54670fc;hb=f03723017a2a5ea421df821eb0ff9a0bfcacff4f;hp=c8357f4af2de48b02a71b37cb5999a1ff4bb4e39;hpb=116819b9ed0da46ba09b927a9d54795e5f56cbdc;p=dpdk.git diff --git a/examples/performance-thread/common/lthread_int.h b/examples/performance-thread/common/lthread_int.h index c8357f4af2..031d8afc48 100644 --- a/examples/performance-thread/common/lthread_int.h +++ b/examples/performance-thread/common/lthread_int.h @@ -69,10 +69,10 @@ #include #include +#include #include #include #include -#include #include #include #include @@ -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 */