From fd1a85cb53a0500478aeed95c35938b53fac60d5 Mon Sep 17 00:00:00 2001 From: David Marchand Date: Wed, 29 May 2019 13:29:14 +0200 Subject: [PATCH] test/table: remove duplicate macro No need for this macro here, take it from librte_net. Fixes: 24ac604ef746 ("net: add rte prefix to IP defines") Signed-off-by: David Marchand Reviewed-by: Olivier Matz --- app/test/test_table_acl.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/test/test_table_acl.c b/app/test/test_table_acl.c index e01e1f946c..cb039c0945 100644 --- a/app/test/test_table_acl.c +++ b/app/test/test_table_acl.c @@ -2,16 +2,12 @@ * Copyright(c) 2010-2014 Intel Corporation */ +#include #include #include #include "test_table.h" #include "test_table_acl.h" -#define RTE_IPv4(a, b, c, d) ((uint32_t)(((a) & 0xff) << 24) | \ - (((b) & 0xff) << 16) | \ - (((c) & 0xff) << 8) | \ - ((d) & 0xff)) - /* * Rule and trace formats definitions. **/ -- 2.20.1