[dpdk-dev] latency: fix compilation with timer lib disabled
Checks
Commit Message
Remove the include to "rte_timer.h" which is not needed
by latencystats library (only "rte_cycles.h" is used).
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
---
lib/librte_latencystats/rte_latencystats.c | 1 -
1 file changed, 1 deletion(-)
Comments
2017-04-07 10:43, Olivier Matz:
> Remove the include to "rte_timer.h" which is not needed
> by latencystats library (only "rte_cycles.h" is used).
>
> Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Applied, thanks
@@ -42,7 +42,6 @@
#include <rte_metrics.h>
#include <rte_memzone.h>
#include <rte_lcore.h>
-#include <rte_timer.h>
#include "rte_latencystats.h"