From: Thomas Monjalon Subject: [PATCH] eal: remove unused macro for blacklist Date: Wed, 30 Oct 2013 16:34:01 +0100 Message-ID: <1383147241-3102-1-git-send-email-thomas.monjalon@6wind.com> To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" This macro was used for blacklist parsing but is not used anymore since commit 5a55b9ac91face71e9d665eecc716201d28745b0. Signed-off-by: Thomas Monjalon --- lib/librte_eal/linuxapp/eal/eal.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c index 05998e9..866013d 100644 --- a/lib/librte_eal/linuxapp/eal/eal.c +++ b/lib/librte_eal/linuxapp/eal/eal.c @@ -105,18 +105,6 @@ #define BITS_PER_HEX 4 -#define GET_BLACKLIST_FIELD(in, fd, lim, dlm) \ -{ \ - unsigned long val; \ - char *end; \ - errno = 0; \ - val = strtoul((in), &end, 16); \ - if (errno != 0 || end[0] != (dlm) || val > (lim)) \ - return (-EINVAL); \ - (fd) = (typeof (fd))val; \ - (in) = end + 1; \ -} - /* Allow the application to print its usage message too if set */ static rte_usage_hook_t rte_application_usage_hook = NULL; -- 1.7.10.4